Details

Time bar (total: 3.4s)

sample19.0ms

Algorithm
intervals
Results
9.0ms329×body80valid

simplify223.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1033754
1137624
1243764
1350024

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
3.8b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
*-un-lft-identity associate-*l*
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 46
Calls
2 calls:
6.0ms
(* (- 1.0 y) z)
5.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(* (- 1.0 y) z)
49.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify98.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune84.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh000
Picked011
Done000
Total48553

Merged error: 0.0b

Counts
53 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
3.8b
(* (* x z) (- y 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
7.0ms
(* (* x z) (- y 1.0))

series112.0ms

Counts
2 → 6
Calls
2 calls:
65.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
47.0ms
(* (* x z) (- y 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0257266
11177224
25002219

prune78.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New45247
Fresh123
Picked011
Done011
Total46652

Merged error: 0.0b

Counts
52 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 y) z)
0.2b
(* (* (- 1.0 y) z) (* (- 1.0 y) z))
3.4b
(* x (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z))))
14.2b
(/ (* x (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z)))) (+ 1.0 (* (- 1.0 y) z)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
25×add-exp-log add-cbrt-cube
19×pow-prod-down
16×add-sqr-sqrt associate-*l/
12×*-un-lft-identity
11×prod-exp cbrt-unprod
10×add-cube-cbrt
flip3-- associate-*l* flip--
associate-*r*
associate-*r/
frac-times pow-sqr pow-prod-up add-log-exp
times-frac associate-/r* *-commutative
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in pow-plus div-exp associate-/r/ associate-/l/ difference-of-squares unswap-sqr
pow2 frac-2neg flip3-+ swap-sqr clear-num flip-+ div-inv associate-/l* distribute-lft-out--
Counts
4 → 114
Calls
4 calls:
6.0ms
(* (- 1.0 y) z)
12.0ms
(* (* (- 1.0 y) z) (* (- 1.0 y) z))
6.0ms
(* x (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z))))
13.0ms
(/ (* x (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z)))) (+ 1.0 (* (- 1.0 y) z)))

series509.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (- 1.0 y) z)
38.0ms
(* (* (- 1.0 y) z) (* (- 1.0 y) z))
79.0ms
(* x (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z))))
363.0ms
(/ (* x (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z)))) (+ 1.0 (* (- 1.0 y) z)))

simplify95.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
05661081
12863901
25001901

prune190.0ms

Filtered
126 candidates to 73 candidates (57.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1251126
Fresh123
Picked011
Done022
Total1266132

Merged error: 0.0b

Counts
132 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

4.1b
(cbrt (+ 1.0 (* (- 1.0 y) z)))
4.1b
(cbrt (+ 1.0 (* (- 1.0 y) z)))
4.1b
(cbrt (+ 1.0 (* (- 1.0 y) z)))
16.0b
(* (/ x (* (cbrt (+ 1.0 (* (- 1.0 y) z))) (cbrt (+ 1.0 (* (- 1.0 y) z))))) (/ (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z))) (cbrt (+ 1.0 (* (- 1.0 y) z)))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
34×times-frac
30×associate-*r*
25×add-exp-log
24×add-cube-cbrt *-un-lft-identity
23×cbrt-prod
20×cbrt-div
18×add-cbrt-cube
15×associate-*l*
10×flip3-+ associate-/r/ flip-+
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 difference-of-squares unswap-sqr
frac-times
add-log-exp
pow1/3 associate-*r/ associate-*l/
div-inv
pow-prod-down *-commutative
Counts
4 → 114
Calls
4 calls:
2.0ms
(cbrt (+ 1.0 (* (- 1.0 y) z)))
2.0ms
(cbrt (+ 1.0 (* (- 1.0 y) z)))
2.0ms
(cbrt (+ 1.0 (* (- 1.0 y) z)))
25.0ms
(* (/ x (* (cbrt (+ 1.0 (* (- 1.0 y) z))) (cbrt (+ 1.0 (* (- 1.0 y) z))))) (/ (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z))) (cbrt (+ 1.0 (* (- 1.0 y) z)))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(cbrt (+ 1.0 (* (- 1.0 y) z)))
109.0ms
(cbrt (+ 1.0 (* (- 1.0 y) z)))
107.0ms
(cbrt (+ 1.0 (* (- 1.0 y) z)))
160.0ms
(* (/ x (* (cbrt (+ 1.0 (* (- 1.0 y) z))) (cbrt (+ 1.0 (* (- 1.0 y) z))))) (/ (- (* 1.0 1.0) (* (* (- 1.0 y) z) (* (- 1.0 y) z))) (cbrt (+ 1.0 (* (- 1.0 y) z)))))

simplify126.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
06912729
133312403
250012292

prune376.0ms

Filtered
126 candidates to 107 candidates (84.9%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1260126
Fresh022
Picked011
Done033
Total1266132

Merged error: 0.0b

Counts
132 → 6

regimes259.0ms

Accuracy

96.1% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02817
12817

end0.0ms

sample497.0ms

Algorithm
intervals
Results
287.0ms10091×body80valid

Profiling

Loading profile data...