Details

Time bar (total: 5.2s)

sample72.0ms

Algorithm
intervals
Results
50.0ms624×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune6.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
(+ (* (* 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)
1.2b
(* (* b b) (+ 3.0 a))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity prod-diff
32×add-cube-cbrt
24×distribute-rgt-in distribute-lft-in
22×associate-+l+
15×pow1 add-exp-log
14×add-cbrt-cube
12×associate-*r/
associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u sub-neg flip3-+ frac-add flip-+ log1p-expm1-u
unpow-prod-down pow-unpow flip3-- flip--
associate-+r+ associate-*l* *-commutative unswap-sqr
+-commutative pow-to-exp pow-pow fma-def pow-exp sum-log distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 134
Calls
4 calls:
14.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
18.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
14.0ms
(* (* b b) (+ 3.0 a))

series242.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
53.0ms
(* (* a a) (- 1.0 a))
103.0ms
(pow (+ (* a a) (* b b)) 2.0)
33.0ms
(* (* b b) (+ 3.0 a))

simplify110.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
07301165
14038906
25001903

prune412.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (fma 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 (fma a a (* b b)) 2.0)
1.2b
(* (* b b) (+ 3.0 a))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
18×prod-diff
15×pow1 add-exp-log
14×add-cbrt-cube
13×distribute-rgt-in distribute-lft-in
associate-*r*
fma-def
unpow-prod-down pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr sqr-pow
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 114
Calls
4 calls:
7.0ms
(+ (pow (fma a a (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
19.0ms
(* (* a a) (- 1.0 a))
1.0ms
(pow (fma a a (* b b)) 2.0)
14.0ms
(* (* b b) (+ 3.0 a))

series304.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(+ (pow (fma a a (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
55.0ms
(* (* a a) (- 1.0 a))
111.0ms
(pow (fma a a (* b b)) 2.0)
33.0ms
(* (* b b) (+ 3.0 a))

simplify87.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0644950
13442745
25002742

prune314.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
0.1b
(* (* a a) (- 1.0 a))
0.2b
(fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
1.2b
(* (* b b) (+ 3.0 a))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
34×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
24×distribute-rgt-in distribute-lft-in
22×associate-+l+
14×pow1 add-exp-log add-cbrt-cube
12×associate-*r/
associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u sub-neg flip3-+ frac-add flip-+ log1p-expm1-u
flip3-- flip--
associate-+r+ associate-*l* *-commutative unswap-sqr
+-commutative fma-def sum-log fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 125
Calls
4 calls:
14.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
16.0ms
(* (* a a) (- 1.0 a))
0.0ms
(fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
14.0ms
(* (* b b) (+ 3.0 a))

series255.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
52.0ms
(* (* a a) (- 1.0 a))
119.0ms
(fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
32.0ms
(* (* b b) (+ 3.0 a))

simplify110.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
07041284
13854993
25001988

prune460.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (* b b) (+ 3.0 a))
1.2b
(* (* b b) (+ 3.0 a))
10.9b
(sqrt (fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))))
10.9b
(sqrt (fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1
14×add-exp-log add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r*
pow-prod-down prod-exp sqrt-prod cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 flip3-+ pow1/2 associate-*l* *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
4 → 82
Calls
4 calls:
14.0ms
(* (* b b) (+ 3.0 a))
17.0ms
(* (* b b) (+ 3.0 a))
1.0ms
(sqrt (fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))))
1.0ms
(sqrt (fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))))

series560.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (* b b) (+ 3.0 a))
40.0ms
(* (* b b) (+ 3.0 a))
253.0ms
(sqrt (fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))))
234.0ms
(sqrt (fma (pow (fma a a (* b b)) (/ 2.0 2)) (pow (fma a a (* b b)) (/ 2.0 2)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0297938
11283850
25001842

prune349.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes106.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02738
12738

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.1s20551×body80valid