Details

Time bar (total: 5.1s)

sample67.0ms

Algorithm
intervals
Results
16.0ms47×body2560valid
11.0ms167×body80valid
9.0ms32×body1280valid
7.0ms107×body80nan
6.0ms16×body640valid
2.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
1.2b
(- (* b b) (* (* 3.0 a) c))
1.6b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
83.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0337530
11440479
25002467

prune255.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 13.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
1.5b
(fma b b (- (* (* 3.0 a) c)))
1.6b
(+ (- b) (sqrt (fma b b (- (* (* 3.0 a) c)))))
22.7b
(sqrt (fma b b (- (* (* 3.0 a) c))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def
add-exp-log add-cube-cbrt add-cbrt-cube
add-log-exp
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*l* neg-log *-commutative flip-+ fma-udef
Counts
4 → 72
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
0.0ms
(fma b b (- (* (* 3.0 a) c)))
9.0ms
(+ (- b) (sqrt (fma b b (- (* (* 3.0 a) c)))))
1.0ms
(sqrt (fma b b (- (* (* 3.0 a) c))))

series257.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 a) c)
54.0ms
(fma b b (- (* (* 3.0 a) c)))
92.0ms
(+ (- b) (sqrt (fma b b (- (* (* 3.0 a) c)))))
85.0ms
(sqrt (fma b b (- (* (* 3.0 a) c))))

simplify39.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0276448
11054395
25001386

prune225.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 13.2b

localize13.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
20×fma-def *-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt add-log-exp
distribute-rgt-neg-in
pow1 distribute-lft-neg-in sqrt-prod
add-exp-log expm1-log1p-u sqrt-div sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 88
Calls
4 calls:
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
83.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0234668
1888610
23709588
35001584

prune378.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 13.1b

localize26.0ms

Local error

Found 4 expressions with local error:

10.4b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
23.5b
(cbrt (- (* b b) (* (* 3.0 a) c)))
23.5b
(cbrt (- (* b b) (* (* 3.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-cube-cbrt fma-def *-un-lft-identity
add-log-exp
cbrt-prod
pow1
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- distribute-rgt-neg-in sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 72
Calls
4 calls:
7.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

series368.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
102.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
102.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0391873
11592796
25001765

prune427.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 13.1b

regimes248.0ms

Accuracy

87.6% (2.8b remaining)

Error of 15.1b against oracle of 12.3b and baseline of 34.8b

bsearch155.0ms

Steps
ItersRangePoint
8
2.7436979961372665e-42
4.0592445250007856e-39
1.8843431932504646e-40
12
-7.927726045730789e+181
-4.544878892552954e+140
-1.3379185299605649e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04021
14821
24821

end0.0ms

sample1.7s

Algorithm
intervals
Results
406.0ms5746×body80valid
385.0ms1107×body2560valid
265.0ms929×body1280valid
177.0ms2804×body80nan
111.0ms479×body640valid
44.0ms106×body5120valid
36.0ms215×body320valid
17.0ms118×body160valid