Details

Time bar (total: 7.3s)

sample93.0ms

Algorithm
intervals
Results
71.0ms723×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/
unpow-prod-down pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 81
Calls
4 calls:
24.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
16.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
14.0ms
(* (* b b) (+ 3.0 a))

series57.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
4.0ms
(* (* a a) (- 1.0 a))
22.0ms
(pow (+ (* a a) (* b b)) 2.0)
6.0ms
(* (* b b) (+ 3.0 a))

simplify67.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0506651
12520583
25001583

prune758.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
24×pow1 add-exp-log
23×add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity
12×pow-prod-down prod-exp cbrt-unprod
10×associate-*r*
add-cube-cbrt
associate-*r/
distribute-rgt-in distribute-lft-in
associate-*l*
add-log-exp
unpow-prod-down pow-unpow *-commutative
sub-neg flip3-+ flip-+ unswap-sqr
pow-to-exp flip3-- pow-pow pow-exp flip-- distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 95
Calls
4 calls:
26.0ms
(* 4.0 (* (* b b) (+ 3.0 a)))
14.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
14.0ms
(* (* b b) (+ 3.0 a))

series39.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0493569
12510481
25002481

prune775.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (+ 3.0 a))
8.9b
(cbrt (+ (* a a) (* b b)))
8.9b
(cbrt (+ (* a a) (* b b)))
8.9b
(cbrt (+ (* a a) (* b b)))

rewrite23.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
flip3-+ associate-*r* flip-+ 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 → 63
Calls
4 calls:
14.0ms
(* (* b b) (+ 3.0 a))
2.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))
2.0ms
(cbrt (+ (* a a) (* b b)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (* b b) (+ 3.0 a))
19.0ms
(cbrt (+ (* a a) (* b b)))
19.0ms
(cbrt (+ (* a a) (* b b)))
19.0ms
(cbrt (+ (* a a) (* b b)))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0271484
11307442
25002433

prune1.1s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (+ 3.0 a))
8.9b
(cbrt (+ (* a a) (* b b)))
8.9b
(cbrt (+ (* a a) (* b b)))
12.2b
(pow (+ (* a a) (* b b)) 1/3)

rewrite24.0ms

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

series62.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (* b b) (+ 3.0 a))
19.0ms
(cbrt (+ (* a a) (* b b)))
19.0ms
(cbrt (+ (* a a) (* b b)))
19.0ms
(pow (+ (* a a) (* b b)) 1/3)

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0319469
11536409
25001403

prune1.1s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes318.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03227
13227

end0.0ms

sample2.4s

Algorithm
intervals
Results
2.0s20670×body80valid