Details

Time bar (total: 5.5s)

sample64.0ms

Algorithm
intervals
Results
41.0ms618×body80valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
05515
117914
256113
3182413
4500213

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-sqr-sqrt *-un-lft-identity add-cbrt-cube
12×add-cube-cbrt
distribute-rgt-in fma-def distribute-lft-in associate-*r*
unpow-prod-down prod-diff 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
Counts
4 → 100
Calls
4 calls:
9.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
11.0ms
(* (* a a) (+ 1.0 a))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
51.0ms
(* (* a a) (+ 1.0 a))
107.0ms
(pow (+ (* a a) (* b b)) 2.0)
50.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify80.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0564828
12826724
25001715

prune342.0ms

Filtered
112 candidates to 80 candidates (71.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1057112
Fresh000
Picked011
Done000
Total1058113

Merged error: 0.0b

Counts
113 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
0.9b
(* (* b b) (- 1.0 (* 3.0 a)))
9.4b
(sqrt (+ (* a a) (* b b)))
9.4b
(sqrt (+ (* a a) (* b b)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
prod-diff sqrt-prod
distribute-rgt-in distribute-lft-in
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+ hypot-def
flip3-- associate-*l* *-commutative flip-- fma-udef unswap-sqr
Counts
4 → 79
Calls
4 calls:
1.0ms
(fma (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(sqrt (+ (* a a) (* b b)))
4.0ms
(sqrt (+ (* a a) (* b b)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(fma (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
42.0ms
(sqrt (+ (* a a) (* b b)))
40.0ms
(sqrt (+ (* a a) (* b b)))

simplify52.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0379738
11669640
25001616

prune324.0ms

Filtered
91 candidates to 70 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New90191
Fresh336
Picked101
Done011
Total94599

Merged error: 0.0b

Counts
99 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (* 3.0 a))
0.0b
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
0.1b
(* (* a a) (+ 1.0 a))
0.9b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
12×add-cube-cbrt
prod-diff
add-log-exp
distribute-rgt-in fma-def distribute-lft-in associate-*r*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u
sub-neg unpow-prod-down fma-neg
associate-+r+ flip3-- flip3-+ associate-*l* *-commutative flip-- flip-+ unswap-sqr
+-commutative diff-log sum-log distribute-lft-out sqr-pow
Counts
4 → 101
Calls
4 calls:
3.0ms
(- 1.0 (* 3.0 a))
6.0ms
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
9.0ms
(* (* a a) (+ 1.0 a))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- 1.0 (* 3.0 a))
135.0ms
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
52.0ms
(* (* a a) (+ 1.0 a))
50.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify74.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0524782
12623672
25002667

prune322.0ms

Filtered
113 candidates to 78 candidates (69.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh123
Picked011
Done011
Total1135118

Merged error: 0.0b

Counts
118 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (* b b) (- 1.0 (* 3.0 a)))
10.0b
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
10.0b
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
10.0b
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-prod add-cbrt-cube
cbrt-div prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
sub-neg associate-*r/
flip3-- associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 78
Calls
4 calls:
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

series645.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
199.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
194.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
194.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04011582
116891442
250021408

prune392.0ms

Filtered
90 candidates to 74 candidates (82.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New89190
Fresh112
Picked011
Done022
Total90595

Merged error: 0b

Counts
95 → 5

regimes221.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.4s20562×body80valid