Details

Time bar (total: 5.8s)

sample64.0ms

Algorithm
intervals
Results
45.0ms676×body80valid

simplify56.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

localize22.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.8b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite31.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))))))
8.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
49.0ms
(* (* a a) (+ 1.0 a))
342.0ms
(pow (+ (* a a) (* b b)) 2.0)
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify77.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0564828
12826724
25001715

prune292.0ms

Filtered
112 candidates to 80 candidates (71.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1066112
Fresh000
Picked101
Done000
Total1076113

Merged error: 0.0b

Counts
113 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* b b) (- 1.0 (* 3.0 a)))
0.8b
(* (* b b) (- 1.0 (* 3.0 a)))
9.4b
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
9.4b
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

rewrite31.0ms

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

series445.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
56.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
175.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
166.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

simplify62.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
03881304
116741186
250021176

prune330.0ms

Filtered
112 candidates to 72 candidates (64.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1120112
Fresh055
Picked011
Done000
Total1126118

Merged error: 0.0b

Counts
118 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* 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)))))))

series602.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
190.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
180.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
177.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04011582
116891442
250021408

prune375.0ms

Filtered
90 candidates to 74 candidates (82.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh044
Picked011
Done011
Total90696

Merged error: 0.0b

Counts
96 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* b b) (- 1.0 (* 3.0 a)))
10.1b
(cbrt (+ (* a a) (* b b)))
10.1b
(cbrt (+ (* a a) (* b b)))
10.1b
(cbrt (+ (* a a) (* b b)))

rewrite20.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:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(cbrt (+ (* a a) (* b b)))
3.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
91.0ms
(cbrt (+ (* a a) (* b b)))
91.0ms
(cbrt (+ (* a a) (* b b)))
91.0ms
(cbrt (+ (* a a) (* b b)))

simplify46.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0331646
11480584
25001567

prune319.0ms

Filtered
90 candidates to 71 candidates (78.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh033
Picked011
Done022
Total90696

Merged error: 0.0b

Counts
96 → 6

regimes143.0ms

Accuracy

0% (0.2b 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
02932
12932

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.4s20540×body80valid