Details

Time bar (total: 5.6s)

sample53.0ms

Algorithm
intervals
Results
35.0ms690×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize20.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.3b
(pow (+ (* a a) (* b b)) 2.0)
0.7b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite69.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:
38.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
13.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
11.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series284.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
55.0ms
(* (* a a) (+ 1.0 a))
109.0ms
(pow (+ (* a a) (* b b)) 2.0)
51.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify99.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
0658794
13720707
25001707

prune288.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* a a) 1.0) (pow a 3))
0.0b
(* 4.0 (+ (+ (* (* a a) 1.0) (pow a 3)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.7b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite187.0ms

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

series304.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (* (* a a) 1.0) (pow a 3))
66.0ms
(* 4.0 (+ (+ (* (* a a) 1.0) (pow a 3)) (* (* b b) (- 1.0 (* 3.0 a)))))
103.0ms
(pow (+ (* a a) (* b b)) 2.0)
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify87.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0590830
13193743
25002740

prune315.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (- 1.0 (* 3.0 a)))
17.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite24.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:
11.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))

series500.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
150.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
145.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
152.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify34.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266651
11020585
25001579

prune338.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

10.2b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
10.2b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
17.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite18.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:
4.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
4.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))

series596.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
149.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
144.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
152.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify139.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0172764
1365712
21183704
34879694
45001694

prune388.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes298.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
02916
12916

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s20581×body80valid