Details

Time bar (total: 6.2s)

sample56.0ms

Algorithm
intervals
Results
34.0ms627×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
05515
117914
256113
3182413
4500213

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite160.0ms

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

series259.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
44.0ms
(* (* a a) (+ 1.0 a))
48.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
106.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify117.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
0725894
14089793
25001790

prune361.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
0.1b
(* (* b b) (- 1.0 (* 3.0 a)))
0.1b
(* (* a a) (- (* 1.0 1.0) (* a a)))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
24×add-exp-log
23×add-cbrt-cube
18×add-sqr-sqrt
16×*-un-lft-identity
15×pow1
12×add-cube-cbrt
prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in prod-diff
associate-*r*
associate-*r/ pow-prod-down
times-frac associate-/r*
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u add-log-exp
cbrt-undiv unpow-prod-down pow-unpow div-exp difference-of-squares
associate-*l* associate-/r/ *-commutative associate-/l/ distribute-lft-out-- unswap-sqr
pow-to-exp pow-pow frac-2neg pow-exp clear-num div-inv associate-/l* sqr-pow
Counts
4 → 115
Calls
4 calls:
39.0ms
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
28.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
40.0ms
(* (* a a) (- (* 1.0 1.0) (* a a)))
10.0ms
(pow (+ (* a a) (* b b)) 2.0)

series356.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
47.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
81.0ms
(* (* a a) (- (* 1.0 1.0) (* a a)))
108.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify102.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
0651943
13489802
25003799

prune411.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
0.1b
(* (* b b) (- 1.0 (* 3.0 a)))
0.1b
(* (* a a) (- (* 1.0 1.0) (* a a)))
0.3b
(* (pow (hypot a b) (* 2 (/ 2.0 2))) (pow (hypot a b) (* 2 (/ 2.0 2))))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
35×add-exp-log
25×add-cbrt-cube
22×*-un-lft-identity
18×add-cube-cbrt unpow-prod-down prod-exp
14×pow1 associate-*r*
11×unswap-sqr
10×cbrt-unprod sqr-pow
associate-*l*
distribute-rgt-in distribute-lft-in prod-diff
swap-sqr pow-prod-down
pow-to-exp associate-*r/ pow-exp
times-frac associate-/r*
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u add-log-exp
cbrt-undiv div-exp *-commutative difference-of-squares
associate-/r/ associate-/l/ distribute-lft-out--
pow2 frac-2neg clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 150
Calls
4 calls:
40.0ms
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
30.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
37.0ms
(* (* a a) (- (* 1.0 1.0) (* a a)))
26.0ms
(* (pow (hypot a b) (* 2 (/ 2.0 2))) (pow (hypot a b) (* 2 (/ 2.0 2))))

series425.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
81.0ms
(* (* a a) (- (* 1.0 1.0) (* a a)))
176.0ms
(* (pow (hypot a b) (* 2 (/ 2.0 2))) (pow (hypot a b) (* 2 (/ 2.0 2))))

simplify120.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
07281381
139251169
250011157

prune530.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
0.1b
(* (* b b) (- 1.0 (* 3.0 a)))
0.1b
(* (* a a) (- (* 1.0 1.0) (* a a)))

rewrite280.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
20×add-sqr-sqrt
16×pow1 *-un-lft-identity
12×add-cube-cbrt associate-*r/
10×associate-*r* prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in
prod-diff
pow-prod-down
flip3-- times-frac associate-*l* associate-/r* flip--
expm1-log1p-u sub-neg log1p-expm1-u add-log-exp
cbrt-undiv div-exp *-commutative difference-of-squares unswap-sqr
frac-add associate-/r/ associate-/l/ distribute-lft-out--
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l*
Counts
4 → 122
Calls
4 calls:
166.0ms
(* 4.0 (+ (/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
39.0ms
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
30.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
41.0ms
(* (* a a) (- (* 1.0 1.0) (* a a)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* 4.0 (+ (/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
114.0ms
(/ (* (* a a) (- (* 1.0 1.0) (* a a))) (- 1.0 a))
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
81.0ms
(* (* a a) (- (* 1.0 1.0) (* a a)))

simplify137.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (123.0ms)

IterNodesCost
07921270
145021096
250011093

prune469.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03118
13118

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s20509×body80valid