Details

Time bar (total: 2.8s)

sample16.0ms

Algorithm
intervals
Results
7.0ms311×body80valid

simplify199.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1036584
1140314
1244294
1350024

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
2.0ms
(- 1.0 (* (- 1.0 y) z))
10.0ms
(* (- 1.0 y) z)
7.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series106.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(- 1.0 (* (- 1.0 y) z))
31.0ms
(* (- 1.0 y) z)
49.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify97.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0233336
1920299
24132288
35001288

prune111.0ms

Filtered
67 candidates to 43 candidates (64.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
3.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
12.0ms
(* (* x z) (- y 1.0))

series111.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0257266
11177224
25002219

prune80.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (* x (- 1.0 (* (- 1.0 y) z))))
3.1b
(* x (- 1.0 (* (- 1.0 y) z)))
3.1b
(* x (- 1.0 (* (- 1.0 y) z)))
3.1b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite26.0ms

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

series297.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(cbrt (* x (- 1.0 (* (- 1.0 y) z))))
49.0ms
(* x (- 1.0 (* (- 1.0 y) z)))
48.0ms
(* x (- 1.0 (* (- 1.0 y) z)))
44.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0306694
11060617
24976586
35002586

prune210.0ms

Filtered
95 candidates to 64 candidates (67.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
0.1b
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
1.7b
(sqrt (- 1.0 (* (- 1.0 y) z)))
1.7b
(sqrt (- 1.0 (* (- 1.0 y) z)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-div
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*r/
flip3-- flip--
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 83
Calls
4 calls:
8.0ms
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
22.0ms
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
2.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))
3.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))

series356.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
44.0ms
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
92.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))
92.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0356871
11452755
25002743

prune212.0ms

Filtered
95 candidates to 65 candidates (68.4%)
Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0.0b

regimes258.0ms

Accuracy

96.3% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample418.0ms

Algorithm
intervals
Results
223.0ms10068×body80valid