Details

Time bar (total: 18.8s)

sample143.0ms

Algorithm
intervals
Results
26.0ms55×body1280valid
25.0ms304×body80nan
17.0ms175×body80valid
10.0ms31×body640valid
9.0ms12×body2560valid
5.0ms21×body320valid
2.0ms10×body160valid

simplify45.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01819
13219
25419
37419
48719
59019
done9019

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.8b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 3.0))
0.2b
(/ (* z t) 3.0)
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
26.2b
(cos (- y (/ (* z t) 3.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
5.0ms
(/ a (* b 3.0))
5.0ms
(/ (* z t) 3.0)
8.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
6.0ms
(cos (- y (/ (* z t) 3.0)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
4.0ms
(/ (* z t) 3.0)
37.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
11.0ms
(cos (- y (/ (* z t) 3.0)))

simplify1.0s

Counts
84 → 84
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01731005
1420970
21433828
done5001826

prune300.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New602484
Fresh000
Picked101
Done000
Total612485

Merged error: 18.8b

Counts
85 → 24

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
29.8b
(sin (/ (* z t) 3.0))
30.0b
(cos (/ (* z t) 3.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
6.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(sin (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))

series91.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
68.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))

simplify891.0ms

Counts
68 → 68
Iterations

Useful iterations: 2 (175.0ms)

IterNodesCost
01451349
13981303
215421123
done50011123

prune314.0ms

Filtered
52 candidates to 68 candidates (-30.8%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh51823
Picked101
Done000
Total652792

Merged error: 18.8b

Counts
92 → 27

localize29.0ms

Local error

Found 4 expressions with local error:

29.8b
(sin (/ (* z t) 3.0))
30.0b
(cos (/ (* z t) 3.0))
30.0b
(cos (/ (* z t) 3.0))
30.0b
(cos (/ (* z t) 3.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
3.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series15.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))

simplify3.0s

Counts
40 → 40
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
027336
136336
249288
361288
471288
588288
6127288
7240288
8644288
92490288
done5001288

prune296.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh22426
Picked101
Done000
Total412667

Merged error: 18.7b

Counts
67 → 26

localize38.0ms

Local error

Found 4 expressions with local error:

29.8b
(sin (/ (* z t) 3.0))
30.0b
(cos (* 0.3333333333333333 (* t z)))
30.0b
(cos (/ (* z t) 3.0))
30.0b
(cos (/ (* z t) 3.0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
3.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
3.0ms
(cos (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series15.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))

simplify3.6s

Counts
40 → 40
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
034336
144336
258288
370288
483288
5107288
6166288
7332288
8953288
93662288
done5000288

prune135.0ms

Filtered
34 candidates to 40 candidates (-17.6%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh12425
Picked101
Done000
Total382866

Merged error: 18.7b

Counts
66 → 28

regimes4.4s

Accuracy

63% (1.5b remaining)

Error of 18.5b against oracle of 17.1b and baseline of 21.0b

bsearch2.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04778
16078
done6078

end0.0ms

sample4.2s

Algorithm
intervals
Results
824.0ms1667×body1280valid
773.0ms9096×body80nan
462.0ms5494×body80valid
314.0ms884×body640valid
298.0ms388×body2560valid
120.0ms465×body320valid
42.0ms209×body160valid

Profiling

Loading profile data...