Details

Time bar (total: 2.9s)

sample23.0ms

Algorithm
intervals
Results
9.0ms317×body80valid

simplify230.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
1350034

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: 4.6b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

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

series20.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (- 1.0 y) z)
5.0ms
(- 1.0 (* (- 1.0 y) z))
11.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify104.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0233336
1920299
24132288
35001288

prune87.0ms

Filtered
67 candidates to 43 candidates (35.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New61667
Fresh000
Picked011
Done000
Total61768

Merged error: 0.0b

Counts
68 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
2.2b
(* (* 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))

series22.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0257266
11177224
25002219

prune64.0ms

Filtered
47 candidates to 30 candidates (36.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New45247
Fresh145
Picked011
Done011
Total46854

Merged error: 0.0b

Counts
54 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- y 1.0))
0.2b
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
0.6b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
1.9b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
80×cbrt-div
44×associate-*r/
41×pow1
40×flip3-- flip--
38×cbrt-prod
36×add-exp-log frac-times
35×add-sqr-sqrt
33×*-un-lft-identity
23×pow-prod-down
22×prod-exp cbrt-unprod
21×add-cbrt-cube
18×associate-*l/
17×associate-*r*
15×add-cube-cbrt
10×swap-sqr associate-*l*
distribute-lft-out--
pow1/3
difference-of-squares
add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 159
Calls
4 calls:
3.0ms
(cbrt (- y 1.0))
11.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
21.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
15.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series60.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(cbrt (- y 1.0))
10.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
12.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
30.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

simplify98.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07891993
133251768
250011670

prune311.0ms

Filtered
171 candidates to 95 candidates (44.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1683171
Fresh145
Picked011
Done022
Total16910179

Merged error: 0.0b

Counts
179 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series85.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt z)
24.0ms
(cbrt z)
23.0ms
(cbrt z)
17.0ms
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

simplify118.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0198468
1747375
23777333
35001325

prune69.0ms

Filtered
69 candidates to 52 candidates (24.6%)
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New69069
Fresh066
Picked011
Done033
Total691079

Merged error: 0.0b

Counts
79 → 10

regimes746.0ms

Accuracy

96% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample631.0ms

Algorithm
intervals
Results
280.0ms10070×body80valid

Profiling

Loading profile data...