Details

Time bar (total: 1.7s)

sample20.0ms

Algorithm
intervals
Results
7.0ms296×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series14.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0143187
1560166
22091166
35003166

prune81.0ms

Filtered
42 candidates to 28 candidates (33.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New33942
Fresh000
Picked101
Done000
Total34943

Merged error: 3.7b

Counts
43 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (neg (* y z))))
6.5b
(* x (neg (* y z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (neg (* y z))))
5.0ms
(* x (neg (* y z)))

series16.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* x (neg (* y z))))
6.0ms
(* x (neg (* y z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0181204
11018178
25001174

prune58.0ms

Filtered
42 candidates to 32 candidates (23.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh538
Picked011
Done000
Total45651

Merged error: 0.0b

Counts
51 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x (neg y)) z))
6.2b
(* (* x (neg y)) z)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
+-commutative flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 32
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (* x (neg y)) z))
6.0ms
(* (* x (neg y)) z)

series18.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(+ (* x 1.0) (* (* x (neg y)) z))
6.0ms
(* (* x (neg y)) z)

simplify42.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0203197
1955172
25001160

prune48.0ms

Filtered
38 candidates to 28 candidates (26.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New38038
Fresh044
Picked011
Done011
Total38644

Merged error: 0.0b

Counts
44 → 6

localize12.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (* y z) (* y z))
3.3b
(* x (- (* 1.0 1.0) (* (* y z) (* y z))))
8.0b
(/ (* x (- (* 1.0 1.0) (* (* y z) (* y z)))) (+ 1.0 (* y z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
44×pow1
22×add-exp-log add-cbrt-cube
18×pow-prod-down
10×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*r/ associate-*l* pow-sqr pow-prod-up
times-frac associate-/r* add-log-exp
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus div-exp associate-/r/ *-commutative flip-- associate-/l/
pow2 frac-2neg flip3-+ swap-sqr clear-num flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
6.0ms
(* (* y z) (* y z))
6.0ms
(* x (- (* 1.0 1.0) (* (* y z) (* y z))))
9.0ms
(/ (* x (- (* 1.0 1.0) (* (* y z) (* y z)))) (+ 1.0 (* y z)))

series65.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(* (* y z) (* y z))
24.0ms
(* x (- (* 1.0 1.0) (* (* y z) (* y z))))
31.0ms
(/ (* x (- (* 1.0 1.0) (* (* y z) (* y z)))) (+ 1.0 (* y z)))

simplify74.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0381650
12050526
25001526

prune76.0ms

Filtered
93 candidates to 51 candidates (45.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh033
Picked011
Done022
Total93699

Merged error: 0.0b

Counts
99 → 6

regimes450.0ms

Accuracy

96.2% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 3.5b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample533.0ms

Algorithm
intervals
Results
229.0ms9588×body80valid

Profiling

Loading profile data...