Details

Time bar (total: 5.2s)

sample54.0ms

Algorithm
intervals
Results
37.0ms626×body80valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
0.1b
(* (* a a) (- 1.0 a))
0.4b
(pow (+ (* a a) (* b b)) 2.0)
0.6b
(* (* b b) (+ 3.0 a))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×*-un-lft-identity
22×add-cube-cbrt
18×associate-*r/ prod-diff
17×pow1 add-exp-log
16×add-cbrt-cube
13×distribute-rgt-in distribute-lft-in
12×associate-*r*
pow-prod-down prod-exp cbrt-unprod
associate-*l*
expm1-log1p-u flip3-+ frac-add flip-+ log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow flip3-- *-commutative flip-- unswap-sqr
sub-neg
pow-to-exp pow-pow pow-exp distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 120
Calls
4 calls:
12.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
9.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (+ 3.0 a))

series251.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
49.0ms
(* (* a a) (- 1.0 a))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)
32.0ms
(* (* b b) (+ 3.0 a))

simplify127.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
07881033
14587830
25001830

prune299.0ms

Filtered
132 candidates to 83 candidates (62.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1284132
Fresh000
Picked011
Done000
Total1285133

Merged error: 0.1b

Counts
133 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (+ 3.0 a))
8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
pow1 add-exp-log cbrt-prod add-sqr-sqrt add-cbrt-cube
add-cube-cbrt
cbrt-div
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod
associate-*r/
distribute-rgt-in distribute-lft-in associate-*l* *-commutative distribute-lft-out unswap-sqr
Counts
4 → 71
Calls
4 calls:
8.0ms
(* (* b b) (+ 3.0 a))
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series314.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (* b b) (+ 3.0 a))
92.0ms
(cbrt (+ (* a a) (* b b)))
92.0ms
(cbrt (+ (* a a) (* b b)))
93.0ms
(cbrt (+ (* a a) (* b b)))

simplify43.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0284519
11396477
25002465

prune338.0ms

Filtered
83 candidates to 69 candidates (83.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New79483
Fresh033
Picked011
Done011
Total79988

Merged error: 0.0b

Counts
88 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log expm1-log1p-u flip3-+ pow1/3 add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(cbrt (+ (* a a) (* b b)))
3.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series367.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(cbrt (+ (* a a) (* b b)))
92.0ms
(cbrt (+ (* a a) (* b b)))
92.0ms
(cbrt (+ (* a a) (* b b)))
90.0ms
(cbrt (+ (* a a) (* b b)))

simplify51.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0132524
1449488
21529476
35001476

prune408.0ms

Filtered
72 candidates to 72 candidates (100.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh066
Picked101
Done112
Total72981

Merged error: 0.0b

Counts
81 → 9

localize35.0ms

Local error

Found 4 expressions with local error:

8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))
8.4b
(cbrt (+ (* a a) (* b b)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log expm1-log1p-u flip3-+ pow1/3 add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(cbrt (+ (* a a) (* b b)))
91.0ms
(cbrt (+ (* a a) (* b b)))
92.0ms
(cbrt (+ (* a a) (* b b)))
96.0ms
(cbrt (+ (* a a) (* b b)))

simplify52.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0132524
1449488
21529476
35001476

prune438.0ms

Filtered
72 candidates to 72 candidates (100.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh077
Picked011
Done011
Total72981

Merged error: 0.0b

Counts
81 → 9

regimes275.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02514
12514

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.2s20286×body80valid