Details

Time bar (total: 12.0s)

sample43.0ms

Algorithm
intervals
Results
8.0ms37×body2560valid
7.0ms195×body80valid
6.0ms81×body80nan
4.0ms21×body1280valid
3.0ms19×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify59.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12517
24516
38716
410516
511316
done11316

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0) a)
0.4b
(- (* b b) (* 4.0 (* a c)))
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
108×*-un-lft-identity
82×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
22×associate-/l*
19×prod-diff
13×distribute-lft-out--
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
pow1 div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-/r* flip--
sub-neg sqrt-div diff-log div-sub
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 183
Calls
4 calls:
42.0ms
(/ (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0) a)
3.0ms
(- (* b b) (* 4.0 (* a c)))
23.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0) a)
44.0ms
(- (* b b) (* 4.0 (* a c)))
82.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
74.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.2s

Counts
195 → 195
Iterations

Useful iterations: done (1.0s)

IterNodesCost
03194967
17594592
221694283
done50004264

prune507.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.6b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0)))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
693×times-frac
452×add-sqr-sqrt
377×*-un-lft-identity
303×add-cube-cbrt
74×difference-of-squares
71×associate-/r*
52×sqrt-prod
37×distribute-lft-out--
25×add-exp-log
19×prod-diff
17×div-inv
15×div-exp
13×add-cbrt-cube
add-log-exp
fma-neg
pow1 cbrt-undiv
associate-/r/
expm1-log1p-u log1p-expm1-u
rec-exp flip3-- 1-exp flip-- associate-/l*
sub-neg sqrt-div diff-log
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 388
Calls
4 calls:
37.0ms
(/ 1 (/ a (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0)))
3.0ms
(- (* b b) (* 4.0 (* a c)))
26.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series342.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(/ 1 (/ a (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0)))
47.0ms
(- (* b b) (* 4.0 (* a c)))
76.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
74.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify2.3s

Counts
400 → 400
Iterations

Useful iterations: done (2.2s)

IterNodesCost
061012852
1143511602
2400810561
done500110543

prune660.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sqrt (fma b b (- (* 4.0 (* a c))))) b) (/ (/ 1 2.0) a))
0.5b
(fma b b (- (* 4.0 (* a c))))
1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
20.6b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
71×times-frac
60×*-un-lft-identity
55×add-cube-cbrt
43×associate-*r*
19×add-exp-log
18×prod-diff
17×sqrt-prod
13×add-cbrt-cube
pow1
fma-neg div-exp associate-*l* add-log-exp
prod-exp
expm1-log1p-u log1p-expm1-u div-inv difference-of-squares unswap-sqr
cbrt-undiv flip3-- flip-- cbrt-unprod
frac-times associate-*l/ distribute-lft-out--
sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 diff-log 1-exp associate-*r/ pow-prod-down *-commutative fma-udef
Counts
4 → 143
Calls
4 calls:
42.0ms
(* (- (sqrt (fma b b (- (* 4.0 (* a c))))) b) (/ (/ 1 2.0) a))
0.0ms
(fma b b (- (* 4.0 (* a c))))
7.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
1.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series346.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (- (sqrt (fma b b (- (* 4.0 (* a c))))) b) (/ (/ 1 2.0) a))
51.0ms
(fma b b (- (* 4.0 (* a c))))
90.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
83.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.4s

Counts
155 → 155
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02823455
17203002
221312592
done50002565

prune417.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.5b

localize22.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* (* a c) 4.0)))) b)
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
20.6b
(sqrt (fma b b (- (* (* a c) 4.0))))
20.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
38×*-un-lft-identity
36×prod-diff
34×add-cube-cbrt
32×sqrt-prod
12×fma-neg
add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u difference-of-squares
flip3-- flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 sqrt-div diff-log distribute-lft-out--
Counts
4 → 114
Calls
4 calls:
10.0ms
(- (sqrt (fma b b (- (* (* a c) 4.0)))) b)
24.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.0ms
(sqrt (fma b b (- (* (* a c) 4.0))))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series331.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(- (sqrt (fma b b (- (* (* a c) 4.0)))) b)
85.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
83.0ms
(sqrt (fma b b (- (* (* a c) 4.0))))
68.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.9s

Counts
126 → 126
Iterations

Useful iterations: 3 (606.0ms)

IterNodesCost
01642782
13622248
28841893
332001719
done50001719

prune405.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 5.5b

regimes181.0ms

Accuracy

83.3% (4.8b remaining)

Error of 10.4b against oracle of 5.6b and baseline of 34.3b

bsearch130.0ms

Steps
ItersRangePoint
10
3.056596725548563e-78
7.076105677608322e-63
3.446447862996811e-75
10
-1.852183237050365e+100
-1.9127319211193897e+86
-4.123103533644211e+95

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13940
24740
done4740

end0.0ms

sample1.1s

Algorithm
intervals
Results
248.0ms1096×body2560valid
227.0ms5880×body80valid
159.0ms852×body1280valid
108.0ms2945×body80nan
66.0ms471×body640valid
32.0ms109×body5120valid
22.0ms211×body320valid
8.0ms107×body160valid