Details

Time bar (total: 4.4s)

sample60.0ms

Algorithm
intervals
Results
40.0ms621×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

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

Counts
2 → 1

localize15.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.0b
(* (* a a) (+ 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.8b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite35.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)))))
7.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
9.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
5.0ms
(* (* a a) (+ 1.0 a))
20.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify105.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
0694813
13813726
25002722

prune154.0ms

Filtered
104 candidates to 69 candidates (33.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh000
Picked011
Done000
Total1014105

Merged error: 0.1b

Counts
105 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* b b) (- 1.0 (* 3.0 a)))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log unpow-prod-down add-cbrt-cube
add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod sqr-pow
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series107.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
32.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
35.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0295702
11114636
25001618

prune258.0ms

Filtered
82 candidates to 64 candidates (22.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New76682
Fresh022
Picked101
Done011
Total77986

Merged error: 0.1b

Counts
86 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

9.8b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
9.8b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
34×cbrt-prod
18×unpow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp sqr-pow
Counts
4 → 66
Calls
4 calls:
5.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
5.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series131.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
34.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
32.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
32.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0212832
1481780
21535756
35002726

prune302.0ms

Filtered
78 candidates to 62 candidates (20.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New74478
Fresh167
Picked101
Done011
Total761187

Merged error: 0.0b

Counts
87 → 11

localize35.0ms

Local error

Found 4 expressions with local error:

9.2b
(sqrt (+ (* a a) (* b b)))
9.8b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
13×add-sqr-sqrt
12×add-cube-cbrt unpow-prod-down *-un-lft-identity
sqrt-prod
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqr-pow
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 63
Calls
4 calls:
4.0ms
(sqrt (+ (* a a) (* b b)))
7.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series107.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* a a) (* b b)))
35.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0281691
1734650
22241632
35002610

prune275.0ms

Filtered
75 candidates to 61 candidates (18.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh279
Picked101
Done011
Total761086

Merged error: 0.0b

Counts
86 → 10

regimes478.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02715
12715

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.4s20674×body80valid

Profiling

Loading profile data...