Details

Time bar (total: 14.5s)

sample144.0ms

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

simplify39.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01819
13219
25419
37519
48819
59119
done9119

prune8.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)
7.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
6.0ms
(cos (- y (/ (* z t) 3.0)))

series56.0ms

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

simplify445.0ms

Counts
84 → 84
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
01731005
1428970
21520828
done5000828

prune511.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

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l* associate-*l/ *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
9.0ms
(* (* (cos y) (cos (/ (* z t) 3.0))) (* 2.0 (sqrt x)))
10.0ms
(* (* (sin y) (sin (/ (* z t) 3.0))) (* 2.0 (sqrt x)))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))

series91.0ms

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

simplify443.0ms

Counts
72 → 72
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
01301288
13561224
21345960
done5000960

prune312.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New63972
Fresh32023
Picked101
Done000
Total672996

Merged error: 18.7b

Counts
96 → 29

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

rewrite13.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:
2.0ms
(sin (/ (* z t) 3.0))
5.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))

simplify1.2s

Counts
40 → 40
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
027336
136336
249288
361288
475288
596288
6141288
7263288
8689288
92572288
done5000288

prune317.0ms

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

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh22628
Picked101
Done000
Total412869

Merged error: 18.7b

Counts
69 → 28

localize37.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:
2.0ms
(sin (/ (* z t) 3.0))
3.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))

simplify1.7s

Counts
40 → 40
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
034336
144336
258288
371288
490288
5120288
6186288
7362288
81012288
93788288
done5000288

prune144.0ms

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

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh12627
Picked101
Done000
Total383068

Merged error: 18.7b

Counts
68 → 30

regimes4.8s

Accuracy

62.9% (1.5b remaining)

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

bsearch2.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04883
16283
done6283

end0.0ms

sample4.1s

Algorithm
intervals
Results
805.0ms1667×body1280valid
769.0ms9096×body80nan
451.0ms5494×body80valid
311.0ms884×body640valid
284.0ms388×body2560valid
123.0ms465×body320valid
41.0ms209×body160valid

Profiling

Loading profile data...