Details

Time bar (total: 5.3s)

sample59.0ms

Algorithm
intervals
Results
41.0ms626×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

prune3.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: 0.2b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
17×pow1 add-exp-log
16×add-cbrt-cube
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt associate-*r*
pow-prod-down prod-exp cbrt-unprod
associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ frac-add flip-+ 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 sqr-pow
Counts
4 → 92
Calls
4 calls:
12.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
8.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
46.0ms
(* (* a a) (+ 1.0 a))
100.0ms
(pow (+ (* a a) (* b b)) 2.0)
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify101.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
0658794
13720707
25001707

prune235.0ms

Filtered
104 candidates to 69 candidates (66.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1004104
Fresh000
Picked011
Done000
Total1005105

Merged error: 0.1b

Counts
105 → 5

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* a a) (* b b))) (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)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
15.0ms
(* (cbrt (+ (* a a) (* b b))) (cbrt (+ (* a a) (* b b))))
4.0ms
(cbrt (+ (* a a) (* b b)))
3.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series374.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
0222979
1943914
24107856
35001850

prune394.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New93699
Fresh033
Picked101
Done011
Total9410104

Merged error: 0.0b

Counts
104 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

7.8b
(sqrt (+ (* a a) (* b b)))
7.8b
(sqrt (+ (* 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
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
4.0ms
(sqrt (+ (* a a) (* b b)))
4.0ms
(sqrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
3.0ms
(cbrt (+ (* a a) (* b b)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (+ (* a a) (* b b)))
34.0ms
(sqrt (+ (* a a) (* b b)))
91.0ms
(cbrt (+ (* a a) (* b b)))
92.0ms
(cbrt (+ (* a a) (* b b)))

simplify51.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0141444
1440420
21469416
35002414

prune358.0ms

Filtered
68 candidates to 60 candidates (88.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh268
Picked101
Done011
Total69978

Merged error: 0.0b

Counts
78 → 9

localize34.0ms

Local error

Found 4 expressions with local error:

7.8b
(sqrt (+ (* a a) (* b b)))
7.8b
(sqrt (+ (* 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
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
4.0ms
(sqrt (+ (* a a) (* b b)))
4.0ms
(sqrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series273.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0141444
1440420
21469416
35002414

prune382.0ms

Filtered
68 candidates to 60 candidates (88.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh077
Picked011
Done011
Total68977

Merged error: 0.0b

Counts
77 → 9

regimes251.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
02715
12715

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.4s20286×body80valid