Details

Time bar (total: 3.1s)

sample18.0ms

Algorithm
intervals
Results
8.0ms321×body80valid

simplify185.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.8b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
3.0ms
(- 1.0 (* (- 1.0 y) z))
6.0ms
(* (- 1.0 y) z)
8.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series96.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0233336
1920299
24132288
35001288

prune90.0ms

Filtered
67 candidates to 43 candidates (64.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New63467
Fresh000
Picked011
Done000
Total63568

Merged error: 0.0b

Counts
68 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

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

series134.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0257266
11177224
25002219

prune70.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh033
Picked011
Done011
Total46652

Merged error: 0.0b

Counts
52 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

4.1b
(* (* x z) (- y 1.0))
5.6b
(cbrt (* (* x z) (- y 1.0)))
5.6b
(cbrt (* (* x z) (- y 1.0)))
5.6b
(cbrt (* (* x z) (- y 1.0)))

rewrite28.0ms

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

series619.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (* x z) (- y 1.0))
191.0ms
(cbrt (* (* x z) (- y 1.0)))
191.0ms
(cbrt (* (* x z) (- y 1.0)))
185.0ms
(cbrt (* (* x z) (- y 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0356735
11382659
25001650

prune206.0ms

Filtered
71 candidates to 55 candidates (77.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh033
Picked011
Done022
Total71677

Merged error: 0.0b

Counts
77 → 6

localize8.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.2b
(sqrt (- 1.0 (* (- 1.0 y) z)))
1.2b
(sqrt (- 1.0 (* (- 1.0 y) z)))

rewrite28.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:
6.0ms
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
10.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)))
2.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))

series359.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
46.0ms
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
93.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))
93.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0356871
11452755
25002743

prune160.0ms

Filtered
95 candidates to 64 candidates (67.4%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New95095
Fresh022
Picked011
Done033
Total956101

Merged error: 0.0b

Counts
101 → 6

regimes302.0ms

Accuracy

94.6% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02813
12813

end0.0ms

sample470.0ms

Algorithm
intervals
Results
274.0ms10182×body80valid