Details

Time bar (total: 4.5s)

sample39.0ms

Algorithm
intervals
Results
7.0ms33×body2560valid
7.0ms189×body80valid
5.0ms31×body1280valid
4.0ms104×body80nan
2.0ms14×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.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: 33.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.8b
(- (* b b) (* (* 3.0 a) c))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite24.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:
5.0ms
(* (* 3.0 a) c)
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
42.0ms
(- (* b b) (* (* 3.0 a) c))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337530
11440479
25002467

prune249.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 12.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
9.8b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite22.0ms

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

series265.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
79.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
66.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify40.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0279732
11153610
25001597

prune311.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.7b

localize20.0ms

Local error

Found 4 expressions with local error:

11.0b
(+ (- b) (* (sqrt (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))
21.7b
(cbrt (- (* b b) (* (* 3.0 a) c)))
21.7b
(cbrt (- (* b b) (* (* 3.0 a) c)))

rewrite19.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:
5.0ms
(+ (- b) (* (sqrt (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

series355.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (- b) (* (sqrt (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
66.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
94.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03511045
11300935
25001925

prune395.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.7b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- b))
0.8b
(- (* b b) (* (* 3.0 a) c))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))
21.6b
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-prod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
flip3-- sqrt-div flip--
neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg pow1/3 diff-log prod-diff fma-udef
Counts
4 → 63
Calls
4 calls:
2.0ms
(cbrt (- b))
4.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
1.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (sqrt (- (* b b) (* (* 3.0 a) c))))

series452.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt (- b))
48.0ms
(- (* b b) (* (* 3.0 a) c))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
150.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify99.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0248556
1816502
23444487
35002482

prune237.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.7b

regimes345.0ms

Accuracy

83% (3.8b remaining)

Error of 16.4b against oracle of 12.6b and baseline of 35.0b

bsearch114.0ms

Steps
ItersRangePoint
9
6.122968714791307e-126
2.730466774199498e-117
2.6860323728047766e-117
8
-5.17073721832495e+150
-9.039588443684179e+147
-4.132215651643432e+148

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04037
14037

end0.0ms

sample1.1s

Algorithm
intervals
Results
238.0ms1101×body2560valid
225.0ms5876×body80valid
160.0ms883×body1280valid
101.0ms2996×body80nan
62.0ms419×body640valid
31.0ms118×body5120valid
24.0ms235×body320valid
9.0ms125×body160valid