Details

Time bar (total: 4.0m)

sample262.0ms

Algorithm
intervals
Results
124.0ms83×body1280valid
52.0ms60×body640valid
42.0ms222×body80valid
14.0ms24×body320valid
6.0ms16×body160valid

simplify153.0ms

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

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize39.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))

rewrite103.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
41.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
41.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
8.0ms
(/ (cos th) (sqrt 2))
8.0ms
(/ (cos th) (sqrt 2))

series449.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
159.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
140.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
75.0ms
(/ (cos th) (sqrt 2))
75.0ms
(/ (cos th) (sqrt 2))

simplify8.5s

Counts
180 → 192
Calls
180 calls:
Slowest
625.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) a2) (* (* a2 a2) a2)))
622.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) a1) (* (* a1 a1) a1)))
614.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
544.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
360.0ms
(- (+ (/ 1 (sqrt 2)) (* 1/24 (/ (pow th 4) (sqrt 2)))) (* 1/2 (/ (pow th 2) (sqrt 2))))

prune2.2s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize58.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
345×add-sqr-sqrt
340×*-un-lft-identity add-cube-cbrt
37×associate-/l*
25×add-cbrt-cube add-exp-log
24×associate-/r*
22×associate-*l*
14×div-inv
pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg pow-prod-down unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 481
Calls
4 calls:
Slowest
22.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
18.0ms
(/ (cos th) (sqrt 2))
15.0ms
(/ (cos th) (sqrt (sqrt 2)))
14.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))

series452.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
159.0ms
(/ (cos th) (sqrt (sqrt 2)))
156.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
69.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
66.0ms
(/ (cos th) (sqrt 2))

simplify28.7s

Counts
765 → 493
Calls
765 calls:
Slowest
757.0ms
(/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))))
616.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) a2) (* (* a2 a2) a2)))
576.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
400.0ms
(- (+ (/ 1 (sqrt 2)) (* 1/24 (/ (pow th 4) (sqrt 2)))) (* 1/2 (/ (pow th 2) (sqrt 2))))
373.0ms
(- (+ (sqrt (/ 1 (sqrt 2))) (* 1/24 (* (sqrt (/ 1 (sqrt 2))) (pow th 4)))) (* 1/2 (* (sqrt (/ 1 (sqrt 2))) (pow th 2))))

prune7.5s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
1143×sqrt-prod
1125×times-frac
615×add-sqr-sqrt
581×*-un-lft-identity add-cube-cbrt
283×associate-*l*
37×add-cbrt-cube add-exp-log
35×associate-/l*
24×associate-/r*
23×div-inv
13×unswap-sqr
12×cbrt-undiv div-exp
10×prod-exp cbrt-unprod
pow1
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg pow-prod-down
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 744
Calls
4 calls:
Slowest
65.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a1 a1))
17.0ms
(/ (cos th) (sqrt (sqrt 2)))
17.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
15.0ms
(/ (* a2 (cos th)) (sqrt 2))

series538.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
162.0ms
(/ (* a2 (cos th)) (sqrt 2))
153.0ms
(/ (cos th) (sqrt (sqrt 2)))
136.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a1 a1))
87.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))

simplify45.1s

Counts
1026 → 756
Calls
1026 calls:
Slowest
577.0ms
(+ (- (- (log (cos th)) (log (sqrt (sqrt 2)))) (log (sqrt (sqrt 2)))) (+ (log a1) (log a1)))
445.0ms
(/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))))
420.0ms
(+ (- (- (log (cos th)) (log (sqrt (sqrt 2)))) (log (sqrt (sqrt 2)))) (log (* a1 a1)))
416.0ms
(- (+ (sqrt (/ 1 (sqrt 2))) (* 1/24 (* (sqrt (/ 1 (sqrt 2))) (pow th 4)))) (* 1/2 (* (sqrt (/ 1 (sqrt 2))) (pow th 2))))
416.0ms
(/ (/ (cos th) (cbrt (sqrt (sqrt 2)))) (sqrt (cbrt (sqrt 2))))

prune11.5s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize77.0ms

Local error

Found 4 expressions with local error:

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

rewrite244.0ms

Algorithm
rewrite-expression-head
Rules
1482×sqrt-prod
1141×times-frac
1014×add-sqr-sqrt
468×*-un-lft-identity
408×add-cube-cbrt
377×associate-*r*
153×add-exp-log
145×unswap-sqr
97×add-cbrt-cube
64×prod-exp
55×div-exp
41×associate-*l*
40×cbrt-unprod
30×cbrt-undiv
21×pow1
16×div-inv
15×associate-/r*
pow-prod-down
rec-exp 1-exp
associate-*l/ pow-flip
expm1-log1p-u sqrt-pow1 insert-posit16 log1p-expm1-u associate-/l* add-log-exp
frac-times clear-num frac-2neg pow1/2 associate-*r/ *-commutative
inv-pow
Counts
4 → 740
Calls
4 calls:
Slowest
107.0ms
(* (* (/ (cos th) (sqrt (sqrt (sqrt 2)))) (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2))))) (* a1 a1))
65.0ms
(* (/ (cos th) (sqrt (sqrt (sqrt 2)))) (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))))
17.0ms
(/ (* a2 (cos th)) (sqrt 2))
12.0ms
(/ 1 (sqrt (sqrt 2)))

series389.0ms

Counts
4 → 10
Calls
4 calls:
Slowest
159.0ms
(/ (* a2 (cos th)) (sqrt 2))
148.0ms
(* (* (/ (cos th) (sqrt (sqrt (sqrt 2)))) (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2))))) (* a1 a1))
82.0ms
(* (/ (cos th) (sqrt (sqrt (sqrt 2)))) (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))))
0.0ms
(/ 1 (sqrt (sqrt 2)))

simplify1.8m

Counts
876 → 750
Calls
876 calls:
Slowest
1.0s
(* (* (/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2))))) (/ (/ (* (* 1 1) 1) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2)))))) (* (* (* a1 a1) a1) (* (* a1 a1) a1)))
805.0ms
(* (* (/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2))))) (/ (/ (* (* 1 1) 1) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2)))))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
784.0ms
(* (* (* (* (/ (cos th) (sqrt (sqrt (sqrt 2)))) (/ (cos th) (sqrt (sqrt (sqrt 2))))) (/ (cos th) (sqrt (sqrt (sqrt 2))))) (/ (* (* (/ 1 (sqrt (sqrt 2))) (/ 1 (sqrt (sqrt 2)))) (/ 1 (sqrt (sqrt 2)))) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2)))))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
782.0ms
(* (* (/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2))))) (/ (* (* (/ 1 (sqrt (sqrt 2))) (/ 1 (sqrt (sqrt 2)))) (/ 1 (sqrt (sqrt 2)))) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2)))))) (* (* (* a1 a1) a1) (* (* a1 a1) a1)))
774.0ms
(* (* (/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2))))) (/ (* (* (/ 1 (sqrt (sqrt 2))) (/ 1 (sqrt (sqrt 2)))) (/ 1 (sqrt (sqrt 2)))) (* (* (sqrt (sqrt (sqrt 2))) (sqrt (sqrt (sqrt 2)))) (sqrt (sqrt (sqrt 2)))))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))

prune13.4s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes595.0ms

Accuracy

0% (0.4b remaining)

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

bsearch5.0ms

end0.0ms

sample8.6s

Algorithm
intervals
Results
2.8s2430×body1280valid
2.6s2037×body640valid
2.0s8003×body80valid
575.0ms976×body320valid
232.0ms572×body160valid