Details

Time bar (total: 3.0s)

sample18.0ms

Algorithm
intervals
Results
7.0ms323×body80valid

simplify262.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1036584
1140294
1244254
1350014

prune5.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.1b

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.9b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite28.0ms

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

series112.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(- 1.0 (* (- 1.0 y) z))
33.0ms
(* (- 1.0 y) z)
54.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify126.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0252380
1996343
24221332
35001332

prune99.0ms

Filtered
77 candidates to 47 candidates (39.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New73477
Fresh000
Picked011
Done000
Total73578

Merged error: 0.0b

Counts
78 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
32×associate-*l*
22×*-un-lft-identity
17×add-sqr-sqrt
10×associate-*r* distribute-lft-out
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp unswap-sqr
pow-prod-down prod-exp cbrt-unprod
associate-*r/ *-commutative
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 64
Calls
2 calls:
22.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
12.0ms
(* (* x z) (- y 1.0))

series125.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0296375
11247323
25001318

prune97.0ms

Filtered
70 candidates to 45 candidates (35.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New68270
Fresh123
Picked011
Done011
Total69675

Merged error: 0b

Counts
75 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
25×associate-*r*
22×add-sqr-sqrt
21×*-un-lft-identity
18×distribute-rgt-in distribute-lft-in
13×associate-*l*
10×pow1 add-exp-log sub-neg add-cbrt-cube
add-cube-cbrt
associate-+r+
associate-*r/
*-commutative add-log-exp unswap-sqr
pow-prod-down prod-exp cbrt-unprod distribute-lft-out
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative distribute-rgt-out flip3-+ sum-log flip-+
Counts
3 → 93
Calls
3 calls:
6.0ms
(* x (- y 1.0))
23.0ms
(+ (* x 1.0) (* z (* x (- y 1.0))))
11.0ms
(* z (* x (- y 1.0)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* x (- y 1.0))
72.0ms
(+ (* x 1.0) (* z (* x (- y 1.0))))
55.0ms
(* z (* x (- y 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0324483
11509429
25001421

prune124.0ms

Filtered
102 candidates to 59 candidates (42.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1011102
Fresh213
Picked011
Done022
Total1035108

Merged error: 0b

Counts
108 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y)))
2.9b
(* x (- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))))
3.5b
(* (- (* 1.0 1.0) (* y y)) z)
6.4b
(/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))

rewrite214.0ms

Algorithm
rewrite-expression-head
Rules
398×add-sqr-sqrt
228×*-un-lft-identity
225×associate-*l*
172×times-frac
156×difference-of-squares
72×swap-sqr
69×unswap-sqr
67×*-commutative
66×add-cube-cbrt
43×distribute-lft-out
42×associate-/l*
32×distribute-lft-out--
25×associate-*r*
13×add-exp-log add-cbrt-cube
pow1
add-log-exp
flip3-- associate-*l/ associate-/r* flip--
sub-neg prod-exp cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*r/ div-exp pow-prod-down associate-/r/ associate-/l/
frac-2neg flip3-+ diff-log clear-num flip-+ div-inv
Counts
4 → 326
Calls
4 calls:
65.0ms
(- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y)))
69.0ms
(* x (- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))))
25.0ms
(* (- (* 1.0 1.0) (* y y)) z)
33.0ms
(/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))

series261.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y)))
101.0ms
(* x (- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))))
44.0ms
(* (- (* 1.0 1.0) (* y y)) z)
70.0ms
(/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))

simplify143.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
07712866
135322746
250012746

prune335.0ms

Filtered
338 candidates to 139 candidates (58.9%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New3380338
Fresh011
Picked011
Done033
Total3385343

Merged error: 0b

Counts
343 → 5

regimes175.0ms

Accuracy

86.3% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.8b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02813
12813

end0.0ms

sample455.0ms

Algorithm
intervals
Results
244.0ms10127×body80valid