Details

Time bar (total: 3.6s)

sample34.0ms

Algorithm
intervals
Results
13.0ms266×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0506017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- b y))
0.8b
(+ (* x y) (* z (- t a)))
22.2b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
times-frac
add-exp-log associate-+r+ add-cbrt-cube add-log-exp
pow1 distribute-rgt-in sub-neg distribute-lft-in
associate-*r*
flip3-+ flip-+
associate-*l* associate-/r* associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 87
Calls
4 calls:
3.0ms
(+ y (* z (- b y)))
6.0ms
(* z (- b y))
4.0ms
(+ (* x y) (* z (- t a)))
7.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series122.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ y (* z (- b y)))
7.0ms
(* z (- b y))
14.0ms
(+ (* x y) (* z (- t a)))
94.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify40.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
054511327

prune162.0ms

Filtered
69 candidates to 99 candidates (-43.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New871299
Fresh000
Picked011
Done000
Total8713100

Merged error: 22.3b

Counts
100 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.6b
(/ 1 (+ y (* z (- b y))))
0.8b
(+ (* x y) (* z (- t a)))
21.7b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
25×*-un-lft-identity
22×add-cube-cbrt
20×times-frac associate-*r*
19×add-exp-log
13×add-cbrt-cube
pow1
associate-*l* add-log-exp
flip3-+ prod-exp flip-+
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in div-exp associate-/r/ unswap-sqr
associate-*r/ associate-/r* cbrt-unprod associate-/l*
cbrt-undiv frac-times rec-exp 1-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative flip3-- pow-flip frac-2neg clear-num sum-log un-div-inv flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 116
Calls
4 calls:
6.0ms
(* z (- b y))
4.0ms
(/ 1 (+ y (* z (- b y))))
4.0ms
(+ (* x y) (* z (- t a)))
12.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

series136.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* z (- b y))
17.0ms
(/ 1 (+ y (* z (- b y))))
15.0ms
(+ (* x y) (* z (- t a)))
97.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049761691
149761691

prune151.0ms

Filtered
74 candidates to 128 candidates (-73.0%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1271128
Fresh11011
Picked011
Done011
Total12813141

Merged error: 22.2b

Counts
141 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.3b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.8b
(+ (* x y) (* z (- t a)))
22.2b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
associate-+r+ flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 145
Calls
4 calls:
6.0ms
(+ y (* z (- b y)))
10.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
4.0ms
(+ (* x y) (* z (- t a)))
7.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series256.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ y (* z (- b y)))
165.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
16.0ms
(+ (* x y) (* z (- t a)))
67.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify67.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049943640
149943640

prune181.0ms

Filtered
107 candidates to 157 candidates (-46.7%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1561157
Fresh1910
Picked011
Done022
Total15713170

Merged error: 22.2b

Counts
170 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.8b
(+ (* x y) (* z (- t a)))
22.2b
(/ (+ (* x y) (* z (- t a))) (+ y (* (* (cbrt z) (cbrt z)) (* (- b y) (cbrt z)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log cbrt-prod add-cbrt-cube add-log-exp
pow1 associate-+r+
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in sub-neg distribute-lft-in pow1/3 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 68
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
4.0ms
(+ (* x y) (* z (- t a)))
8.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* (* (cbrt z) (cbrt z)) (* (- b y) (cbrt z)))))

series162.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt z)
23.0ms
(cbrt z)
14.0ms
(+ (* x y) (* z (- t a)))
104.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* (* (cbrt z) (cbrt z)) (* (- b y) (cbrt z)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049711084
149711084

prune64.0ms

Filtered
53 candidates to 80 candidates (-50.9%)
Pruning

13 alts after pruning (9 fresh and 4 done)

PrunedKeptTotal
New80080
Fresh099
Picked011
Done033
Total801393

Merged error: 22.2b

Counts
93 → 13

regimes970.0ms

Accuracy

0% (0.6b remaining)

Error of 23.3b against oracle of 22.7b and baseline of 23.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03717
13717

end0.0ms

sample960.0ms

Algorithm
intervals
Results
410.0ms8413×body80valid

Profiling

Loading profile data...