Details

Time bar (total: 2.3s)

sample22.0ms

Algorithm
intervals
Results
8.0ms329×body80valid

simplify215.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.1b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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)))

series15.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune68.0ms

Filtered
33 candidates to 52 candidates (-57.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh000
Picked011
Done000
Total47653

Merged error: 0.0b

Counts
53 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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))

series21.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0257266
11177224
25002219

prune55.0ms

Filtered
30 candidates to 47 candidates (-56.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh044
Picked011
Done011
Total46753

Merged error: 0.0b

Counts
53 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)
2.9b
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

rewrite9.0ms

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

series80.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt z)
22.0ms
(cbrt z)
21.0ms
(cbrt z)
16.0ms
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

simplify117.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0198468
1747375
23777333
35001325

prune79.0ms

Filtered
52 candidates to 69 candidates (-32.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh044
Picked011
Done022
Total69776

Merged error: 0.0b

Counts
76 → 7

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- 1.0 y))
0.1b
(* (sqrt (- 1.0 y)) z)
0.1b
(* (sqrt (- 1.0 y)) (* (sqrt (- 1.0 y)) z))
1.2b
(* x (- 1.0 (* (sqrt (- 1.0 y)) (* (sqrt (- 1.0 y)) z))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×associate-*l*
18×*-un-lft-identity
16×sqrt-div sqrt-prod
14×pow1
13×add-exp-log add-cbrt-cube
12×add-cube-cbrt
10×associate-*l/
flip3-- flip--
associate-*r*
pow-prod-down prod-exp cbrt-unprod
frac-times associate-*r/ add-log-exp
*-commutative distribute-lft-out-- difference-of-squares unswap-sqr
distribute-rgt-in sub-neg distribute-lft-in
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 98
Calls
4 calls:
3.0ms
(sqrt (- 1.0 y))
7.0ms
(* (sqrt (- 1.0 y)) z)
11.0ms
(* (sqrt (- 1.0 y)) (* (sqrt (- 1.0 y)) z))
5.0ms
(* x (- 1.0 (* (sqrt (- 1.0 y)) (* (sqrt (- 1.0 y)) z))))

series30.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (- 1.0 y))
12.0ms
(* (sqrt (- 1.0 y)) z)
5.0ms
(* (sqrt (- 1.0 y)) (* (sqrt (- 1.0 y)) z))
11.0ms
(* x (- 1.0 (* (sqrt (- 1.0 y)) (* (sqrt (- 1.0 y)) z))))

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0497817
11912697
25001676

prune149.0ms

Filtered
76 candidates to 110 candidates (-44.7%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1100110
Fresh033
Picked011
Done033
Total1107117

Merged error: 0.0b

Counts
117 → 7

regimes552.0ms

Accuracy

91.2% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02813
12813

end0.0ms

sample588.0ms

Algorithm
intervals
Results
263.0ms10102×body80valid

Profiling

Loading profile data...