Details

Time bar (total: 26.4s)

sample140.0ms

Algorithm
intervals
Results
37.0ms23×body2560valid
32.0ms191×body80valid
19.0ms20×body1280valid
15.0ms256×pre80true
5.0msbody5120valid
5.0msbody640valid
3.0msbody320valid
2.0msbody160valid

simplify120.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
120.0ms
(sqrt (* 0.5 (+ 1 (/ x (sqrt (+ (* (* 4 p) p) (* x x)))))))

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.4b

localize47.0ms

Local error

Found 4 expressions with local error:

17.4b
(sqrt (+ (* x x) (* p (* 4 p))))
1.7b
(+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)
0.0b
(* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p))))))
0.0b
(+ (* x x) (* p (* 4 p)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×associate-*r*
20×times-frac
19×*-un-lft-identity add-cube-cbrt
13×sqrt-prod
add-cbrt-cube add-exp-log
add-log-exp
pow1
flip3-+ sqrt-div flip-+ insert-posit16
associate-*l* unswap-sqr
+-commutative sum-log prod-exp associate-/r/ cbrt-unprod
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*r/ *-commutative div-inv
Counts
4 → 85
Calls
4 calls:
Slowest
43.0ms
(* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p))))))
24.0ms
(+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)
12.0ms
(sqrt (+ (* x x) (* p (* 4 p))))
9.0ms
(+ (* x x) (* p (* 4 p)))

series322.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
110.0ms
(+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)
90.0ms
(* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p))))))
61.0ms
(sqrt (+ (* x x) (* p (* 4 p))))
61.0ms
(+ (* x x) (* p (* 4 p)))

simplify3.7s

Counts
59 → 97
Calls
59 calls:
Slowest
458.0ms
(sqrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))
331.0ms
(* (exp (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p))))))) (exp 0.5))
327.0ms
(* (* (* 0.5 0.5) 0.5) (* (* (/ x (sqrt (+ (* x x) (* p (* 4 p))))) (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) (/ x (sqrt (+ (* x x) (* p (* 4 p)))))))
280.0ms
(sqrt (+ (* (* x x) (* x x)) (- (* (* p (* 4 p)) (* p (* 4 p))) (* (* x x) (* p (* 4 p))))))
275.0ms
(sqrt (+ (pow (* x x) 3) (pow (* p (* 4 p)) 3)))

prune1.2s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 13.1b

localize56.0ms

Local error

Found 4 expressions with local error:

17.4b
(sqrt (+ (* x x) (* p (* 4 p))))
1.7b
(+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)
0.3b
(log (+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5))
0.1b
(exp (log (+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
pow1
log-prod add-log-exp
add-exp-log
log-div exp-prod flip3-+ add-cbrt-cube flip-+ insert-posit16
exp-sum sqrt-prod
exp-diff sqrt-div log-pow
+-commutative rem-sqrt-square sum-log sqrt-pow1 pow1/2 rem-log-exp rem-exp-log
Counts
4 → 61
Calls
4 calls:
Slowest
25.0ms
(exp (log (+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)))
13.0ms
(+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)
11.0ms
(log (+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5))
6.0ms
(sqrt (+ (* x x) (* p (* 4 p))))

series500.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
207.0ms
(log (+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5))
124.0ms
(exp (log (+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)))
108.0ms
(+ (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 0.5)
61.0ms
(sqrt (+ (* x x) (* p (* 4 p))))

simplify4.3s

Counts
36 → 73
Calls
36 calls:
Slowest
614.0ms
(exp (log (+ (pow (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 3) (pow 0.5 3))))
540.0ms
(log (+ (pow (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) 3) (pow 0.5 3)))
506.0ms
(exp (log (- (* (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p))))))) (* 0.5 0.5))))
454.0ms
(sqrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))
449.0ms
(log (- (* (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p)))))) (* 0.5 (/ x (sqrt (+ (* x x) (* p (* 4 p))))))) (* 0.5 0.5)))

prune993.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 13.1b

localize79.0ms

Local error

Found 4 expressions with local error:

17.4b
(sqrt (+ (* x x) (* p (* 4 p))))
17.4b
(sqrt (+ (* x x) (* p (* 4 p))))
10.5b
(+ (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) 0.5)
1.5b
(log (+ (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) 0.5))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt
sqrt-prod add-log-exp
add-exp-log
flip3-+ add-cbrt-cube sqrt-div flip-+ insert-posit16
log-prod
rem-sqrt-square log-div sqrt-pow1 pow1/2
+-commutative sum-log rem-log-exp log-pow
Counts
4 → 59
Calls
4 calls:
Slowest
86.0ms
(log (+ (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) 0.5))
73.0ms
(+ (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) 0.5)
8.0ms
(sqrt (+ (* x x) (* p (* 4 p))))
6.0ms
(sqrt (+ (* x x) (* p (* 4 p))))

series466.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
220.0ms
(log (+ (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) 0.5))
105.0ms
(+ (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) 0.5)
75.0ms
(sqrt (+ (* x x) (* p (* 4 p))))
65.0ms
(sqrt (+ (* x x) (* p (* 4 p))))

simplify2.9s

Counts
33 → 71
Calls
33 calls:
Slowest
473.0ms
(* (exp (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p))))))))) (exp 0.5))
404.0ms
(sqrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))
391.0ms
(log (- (* (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p)))))))) (* 0.5 (/ x (* (sqrt (sqrt (+ (* x x) (* p (* 4 p))))) (sqrt (sqrt (+ (* x x) (* p (* 4 p))))))))) (* 0.5 0.5)))
343.0ms
(sqrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))
241.0ms
(sqrt (+ (pow (* x x) 3) (pow (* p (* 4 p)) 3)))

prune1.1s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 13.1b

localize62.0ms

Local error

Found 4 expressions with local error:

18.1b
(cbrt (+ (* x x) (* p (* 4 p))))
18.1b
(cbrt (+ (* x x) (* p (* 4 p))))
18.1b
(cbrt (+ (* x x) (* p (* 4 p))))
8.2b
(sqrt (* (cbrt (+ (* x x) (* p (* 4 p)))) (cbrt (+ (* x x) (* p (* 4 p))))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
12×pow1
cbrt-prod sqrt-pow1 flip3-+ pow1/3 flip-+
sqrt-div
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
frac-times add-cbrt-cube add-exp-log insert-posit16 add-log-exp
pow-prod-down associate-*l/ associate-*r/ pow-sqr pow-prod-up
pow2 rem-sqrt-square pow-plus pow1/2 sqrt-prod
Counts
4 → 70
Calls
4 calls:
Slowest
20.0ms
(sqrt (* (cbrt (+ (* x x) (* p (* 4 p)))) (cbrt (+ (* x x) (* p (* 4 p))))))
8.0ms
(cbrt (+ (* x x) (* p (* 4 p))))
8.0ms
(cbrt (+ (* x x) (* p (* 4 p))))
8.0ms
(cbrt (+ (* x x) (* p (* 4 p))))

series505.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
133.0ms
(cbrt (+ (* x x) (* p (* 4 p))))
127.0ms
(sqrt (* (cbrt (+ (* x x) (* p (* 4 p)))) (cbrt (+ (* x x) (* p (* 4 p))))))
125.0ms
(cbrt (+ (* x x) (* p (* 4 p))))
120.0ms
(cbrt (+ (* x x) (* p (* 4 p))))

simplify5.4s

Counts
46 → 82
Calls
46 calls:
Slowest
400.0ms
(sqrt (* (cbrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p))))) (cbrt (+ (* x x) (* p (* 4 p))))))
369.0ms
(sqrt (* (cbrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p))))) (cbrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))))
365.0ms
(cbrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))
358.0ms
(sqrt (* (cbrt (+ (* x x) (* p (* 4 p)))) (cbrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))))
356.0ms
(cbrt (- (* (* x x) (* x x)) (* (* p (* 4 p)) (* p (* 4 p)))))

prune1.2s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 13.1b

regimes152.0ms

Accuracy

83.7% (0.2b remaining)

Error of 13.2b against oracle of 13.0b and baseline of 14.5b

bsearch96.0ms

end0.0ms

sample2.6s

Algorithm
intervals
Results
689.0ms6032×body80valid
686.0ms640×body1280valid
578.0ms734×body2560valid
296.0ms8000×pre80true
114.0ms310×body640valid
42.0ms151×body320valid
38.0ms55×body5120valid
14.0ms78×body160valid