Details

Time bar (total: 1.0m)

sample288.0ms

Algorithm
intervals
Results
82.0ms75×body1280valid
81.0ms248×body80valid
73.0ms77×body640valid
18.0ms31×body320valid
7.0ms19×body160valid

simplify135.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
135.0ms
(+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2)))

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos th) (sqrt 2))
0.7b
(/ (cos th) (sqrt 2))
0.3b
(* (/ (cos th) (sqrt 2)) (* a2 a2))
0.3b
(* (/ (cos th) (sqrt 2)) (* a1 a1))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
70×add-sqr-sqrt
60×*-un-lft-identity add-cube-cbrt
44×associate-*l* sqrt-prod
32×add-cbrt-cube add-exp-log
14×pow1
12×associate-/r* prod-exp cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-/l* unswap-sqr
expm1-log1p-u insert-posit16 log1p-expm1-u div-inv add-log-exp
clear-num frac-2neg associate-*r* associate-*l/ *-commutative
Counts
4 → 180
Calls
4 calls:
Slowest
21.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
21.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
12.0ms
(/ (cos th) (sqrt 2))
8.0ms
(/ (cos th) (sqrt 2))

series446.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
148.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
137.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
100.0ms
(/ (cos th) (sqrt 2))
61.0ms
(/ (cos th) (sqrt 2))

simplify8.6s

Counts
180 → 192
Calls
180 calls:
Slowest
653.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
645.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) a2) (* (* a2 a2) a2)))
638.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) a1) (* (* a1 a1) a1)))
632.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
382.0ms
(- (+ (/ 1 (sqrt 2)) (* 1/24 (/ (pow th 4) (sqrt 2)))) (* 1/2 (/ (pow th 2) (sqrt 2))))

prune2.3s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos th) (sqrt 2))
0.5b
(/ (* a2 (cos th)) (sqrt 2))
0.3b
(* (/ (cos th) (sqrt 2)) (* a1 a1))
0.2b
(* a2 (/ (* a2 (cos th)) (sqrt 2)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
50×times-frac
47×add-sqr-sqrt
40×*-un-lft-identity add-cube-cbrt
32×add-cbrt-cube add-exp-log
31×sqrt-prod
25×associate-*l*
12×associate-/r*
11×pow1 associate-*r* prod-exp cbrt-unprod
cbrt-undiv div-exp
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u div-inv associate-/l* add-log-exp unswap-sqr
clear-num frac-2neg *-commutative
associate-*l/ associate-*r/
Counts
4 → 153
Calls
4 calls:
Slowest
24.0ms
(/ (cos th) (sqrt 2))
22.0ms
(/ (* a2 (cos th)) (sqrt 2))
21.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
20.0ms
(* a2 (/ (* a2 (cos th)) (sqrt 2)))

series546.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
165.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
164.0ms
(/ (* a2 (cos th)) (sqrt 2))
130.0ms
(* a2 (/ (* a2 (cos th)) (sqrt 2)))
86.0ms
(/ (cos th) (sqrt 2))

simplify7.3s

Counts
140 → 165
Calls
140 calls:
Slowest
722.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) a1) (* (* a1 a1) a1)))
688.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
337.0ms
(- (+ (/ 1 (sqrt 2)) (* 1/24 (/ (pow th 4) (sqrt 2)))) (* 1/2 (/ (pow th 2) (sqrt 2))))
306.0ms
(- (/ a2 (sqrt 2)) (* 1/2 (/ (* a2 (pow th 2)) (sqrt 2))))
285.0ms
(* (* (* a2 a2) a2) (/ (* (* (* a2 (cos th)) (* a2 (cos th))) (* a2 (cos th))) (* (* (sqrt 2) (sqrt 2)) (sqrt 2))))

prune2.0s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (sqrt 2) a1)
0.5b
(/ (* a2 (cos th)) (sqrt 2))
0.2b
(/ (* (cos th) a1) (/ (sqrt 2) a1))
0.2b
(* a2 (/ (* a2 (cos th)) (sqrt 2)))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
55×add-sqr-sqrt
53×*-un-lft-identity add-cube-cbrt
39×sqrt-prod
32×add-cbrt-cube add-exp-log
31×associate-/r*
11×cbrt-undiv div-exp
10×associate-*r*
associate-/l*
prod-exp cbrt-unprod
pow1 div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg associate-*l*
pow-prod-down associate-*r/ associate-/r/ *-commutative unswap-sqr
Counts
4 → 172
Calls
4 calls:
Slowest
30.0ms
(/ (* a2 (cos th)) (sqrt 2))
29.0ms
(* a2 (/ (* a2 (cos th)) (sqrt 2)))
26.0ms
(/ (* (cos th) a1) (/ (sqrt 2) a1))
10.0ms
(/ (sqrt 2) a1)

series798.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
483.0ms
(/ (* a2 (cos th)) (sqrt 2))
118.0ms
(* a2 (/ (* a2 (cos th)) (sqrt 2)))
112.0ms
(/ (* (cos th) a1) (/ (sqrt 2) a1))
85.0ms
(/ (sqrt 2) a1)

simplify7.6s

Counts
176 → 184
Calls
176 calls:
Slowest
352.0ms
(* (* (* a2 a2) a2) (/ (* (* (* a2 (cos th)) (* a2 (cos th))) (* a2 (cos th))) (* (* (sqrt 2) (sqrt 2)) (sqrt 2))))
331.0ms
(/ (* (* (* (cos th) a1) (* (cos th) a1)) (* (cos th) a1)) (/ (* (* (sqrt 2) (sqrt 2)) (sqrt 2)) (* (* a1 a1) a1)))
330.0ms
(* (* (* a2 a2) a2) (/ (* (* (* a2 a2) a2) (* (* (cos th) (cos th)) (cos th))) (* (* (sqrt 2) (sqrt 2)) (sqrt 2))))
298.0ms
(/ (* (* (* (cos th) (cos th)) (cos th)) (* (* a1 a1) a1)) (/ (* (* (sqrt 2) (sqrt 2)) (sqrt 2)) (* (* a1 a1) a1)))
275.0ms
(/ (* (* (* (cos th) a1) (* (cos th) a1)) (* (cos th) a1)) (* (* (/ (sqrt 2) a1) (/ (sqrt 2) a1)) (/ (sqrt 2) a1)))

prune2.2s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize48.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (sqrt 2) a1)
0.2b
(/ (* (cos th) a1) (/ (sqrt 2) a1))
0.2b
(* (* a2 (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2))))) (/ (cos th) (cbrt (sqrt 2))))
0.2b
(* a2 (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
107×times-frac
71×add-sqr-sqrt
67×*-un-lft-identity add-cube-cbrt
59×add-exp-log
49×add-cbrt-cube
39×sqrt-prod
38×associate-*r*
25×associate-/r*
22×prod-exp cbrt-unprod
18×cbrt-prod
17×cbrt-undiv div-exp
11×pow1
associate-/l*
div-inv
expm1-log1p-u associate-*l* pow-prod-down associate-*r/ insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg *-commutative unswap-sqr
frac-times associate-*l/ associate-/r/
Counts
4 → 204
Calls
4 calls:
Slowest
91.0ms
(* (* a2 (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2))))) (/ (cos th) (cbrt (sqrt 2))))
42.0ms
(* a2 (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))))
25.0ms
(/ (* (cos th) a1) (/ (sqrt 2) a1))
10.0ms
(/ (sqrt 2) a1)

series863.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
495.0ms
(* a2 (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))))
164.0ms
(/ (* (cos th) a1) (/ (sqrt 2) a1))
137.0ms
(* (* a2 (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2))))) (/ (cos th) (cbrt (sqrt 2))))
67.0ms
(/ (sqrt 2) a1)

simplify14.0s

Counts
206 → 216
Calls
206 calls:
Slowest
655.0ms
(* (* (* (* a2 a2) a2) (/ (* (* a2 a2) a2) (* (* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))) (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))))) (* (* (/ (cos th) (cbrt (sqrt 2))) (/ (cos th) (cbrt (sqrt 2)))) (/ (cos th) (cbrt (sqrt 2)))))
616.0ms
(* (* (* a2 a2) a2) (* (* (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))) (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2))))) (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2))))))
534.0ms
(* (* (* (* a2 a2) a2) (/ (* (* a2 a2) a2) (* (* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))) (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))))) (/ (* (* (cos th) (cos th)) (cos th)) (sqrt 2)))
446.0ms
(* (* (* a2 a2) a2) (/ (* (* a2 a2) a2) (* (sqrt 2) (sqrt 2))))
432.0ms
(+ (+ (log a2) (log (/ a2 (* (cbrt (sqrt 2)) (cbrt (sqrt 2)))))) (log (/ (cos th) (cbrt (sqrt 2)))))

prune3.2s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes457.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch4.0ms

end0.0ms

sample8.9s

Algorithm
intervals
Results
3.8s2478×body1280valid
2.2s2142×body640valid
1.6s7953×body80valid
648.0ms1042×body320valid
249.0ms561×body160valid