Details

Time bar (total: 58.5s)

sample364.0ms

Algorithm
intervals
Results
87.0ms278×body80nan
60.0ms120×body320valid
41.0ms534×pre80true
32.0ms96×body160valid
10.0ms15×body640valid
4.0ms25×body80valid

simplify200.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
199.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 53.4b

localize31.0ms

Local error

Found 4 expressions with local error:

25.5b
(- (sqrt (fma c (* -4 a) (* b b))) b)
0.1b
(fma c (* -4 a) (* b b))
0.1b
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
0.0b
(sqrt (fma c (* -4 a) (* b b)))

rewrite39.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*
18×prod-diff
13×distribute-lft-out--
add-cbrt-cube add-exp-log
fma-neg add-log-exp
pow1 div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv associate-/r* div-exp
div-sub
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 diff-log fma-udef flip-- associate-/l/
Counts
4 → 179
Calls
4 calls:
Slowest
19.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
9.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
2.0ms
(sqrt (fma c (* -4 a) (* b b)))
0.0ms
(fma c (* -4 a) (* b b))

series454.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
135.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
120.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
108.0ms
(sqrt (fma c (* -4 a) (* b b)))
91.0ms
(fma c (* -4 a) (* b b))

simplify14.3s

Counts
225 → 191
Calls
225 calls:
Slowest
476.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) (* (cbrt a) (cbrt a)))
211.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) (sqrt a))
201.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (sqrt 2)) (* (cbrt a) (cbrt a)))
198.0ms
(/ (* (* (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (* (* a a) a))
191.0ms
(/ (/ (* (* (- (sqrt (fma c (* -4 a) (* b b))) b) (- (sqrt (fma c (* -4 a) (* b b))) b)) (- (sqrt (fma c (* -4 a) (* b b))) b)) (* (* 2 2) 2)) (* (* a a) a))

prune2.8s

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 50.1b

localize51.0ms

Local error

Found 4 expressions with local error:

52.6b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.1b
(fma c (* -4 a) (* b b))
0.1b
(fma c (* -4 a) (* b b))
0.1b
(/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
46×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
13×associate-/l*
add-cbrt-cube add-exp-log
div-inv
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u add-log-exp
cbrt-undiv associate-/r* div-exp fma-udef
clear-num frac-2neg associate-/l/
Counts
4 → 106
Calls
4 calls:
Slowest
24.0ms
(/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a)
1.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.0ms
(fma c (* -4 a) (* b b))
0.0ms
(fma c (* -4 a) (* b b))

series1.2s

Counts
4 → 12
Calls
4 calls:
Slowest
590.0ms
(/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a)
410.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
98.0ms
(fma c (* -4 a) (* b b))
78.0ms
(fma c (* -4 a) (* b b))

simplify9.8s

Counts
109 → 118
Calls
109 calls:
Slowest
454.0ms
(- (* 1/2 (/ (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) a)) (* 1/2 (/ b a)))
415.0ms
(/ (/ (* (cbrt (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))) (cbrt (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)))) (* (cbrt 2) (cbrt 2))) (* (cbrt a) (cbrt a)))
379.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
270.0ms
(- (* 1/2 (/ (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) a)) (* 1/2 (/ b a)))
222.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)

prune1.6s

Pruning

37 alts after pruning (37 fresh and 0 done)

Merged error: 49.9b

localize90.0ms

Local error

Found 4 expressions with local error:

52.6b
(fma (sqrt (sqrt (cbrt (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.5b
(cbrt (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))))
0.5b
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))
0.4b
(* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
30×pow1
12×add-sqr-sqrt
11×add-cbrt-cube add-exp-log
*-un-lft-identity add-cube-cbrt
pow-plus pow-prod-up
associate-*r*
fma-udef
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp
pow2 swap-sqr pow-sqr
distribute-rgt-in distribute-lft-in pow3 *-commutative unswap-sqr
cbrt-prod pow1/3 rem-cbrt-cube
Counts
4 → 87
Calls
4 calls:
Slowest
23.0ms
(* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))
10.0ms
(cbrt (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))))
6.0ms
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))
0.0ms
(fma (sqrt (sqrt (cbrt (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

series812.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
477.0ms
(fma (sqrt (sqrt (cbrt (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
189.0ms
(* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))
90.0ms
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))
56.0ms
(cbrt (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))))

simplify5.9s

Counts
63 → 99
Calls
63 calls:
Slowest
600.0ms
(* (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))))
324.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
314.0ms
(- (+ (pow b 4) (* 16 (* (pow a 2) (pow c 2)))) (* 8 (* a (* (pow b 2) c))))
302.0ms
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))
295.0ms
(- (+ (pow b 4) (* 16 (* (pow a 2) (pow c 2)))) (* 8 (* a (* (pow b 2) c))))

prune1.8s

Pruning

42 alts after pruning (42 fresh and 0 done)

Merged error: 49.9b

localize79.0ms

Local error

Found 4 expressions with local error:

52.3b
(fma (sqrt (sqrt (pow (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) 1/3))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
4.2b
(pow (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) 1/3)
0.5b
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))
0.4b
(* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1
17×add-exp-log
13×add-sqr-sqrt pow-plus pow-prod-up
12×pow-pow
11×add-cbrt-cube
10×*-un-lft-identity add-cube-cbrt
pow-prod-down prod-exp
associate-*r*
pow2 pow-sqr fma-udef
expm1-log1p-u associate-*l* cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp
pow-unpow swap-sqr pow-exp
distribute-rgt-in distribute-lft-in pow3 *-commutative unswap-sqr
pow-to-exp unpow-prod-down unpow1/3 sqr-pow
Counts
4 → 106
Calls
4 calls:
Slowest
33.0ms
(* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))
28.0ms
(pow (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) 1/3)
12.0ms
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))
1.0ms
(fma (sqrt (sqrt (pow (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) 1/3))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

series998.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
432.0ms
(fma (sqrt (sqrt (pow (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) 1/3))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
277.0ms
(pow (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) 1/3)
206.0ms
(* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b)))
82.0ms
(* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))

simplify8.4s

Counts
80 → 118
Calls
80 calls:
Slowest
812.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
719.0ms
(* (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))) (* (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) (fma c (* -4 a) (* b b))))
362.0ms
(pow (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b))) 1/3)
327.0ms
(- (+ (pow b 4) (* 16 (* (pow a 2) (pow c 2)))) (* 8 (* a (* (pow b 2) c))))
286.0ms
(+ (log (* (fma c (* -4 a) (* b b)) (fma c (* -4 a) (* b b)))) (log (fma c (* -4 a) (* b b))))

prune1.9s

Pruning

41 alts after pruning (41 fresh and 0 done)

Merged error: 49.9b

regimes1.1s

Accuracy

0% (1.7b remaining)

Error of 50.9b against oracle of 49.2b and baseline of 50.9b

bsearch9.0ms

end0.0ms

sample6.3s

Algorithm
intervals
Results
1.8s3654×body320valid
1.2s16076×pre80true
1.1s8076×body80nan
920.0ms2934×body160valid
628.0ms518×body640valid
183.0ms894×body80valid