Details

Time bar (total: 45.1s)

sample283.0ms

Algorithm
intervals
Results
163.0ms118×body1280valid
45.0ms72×body640valid
13.0ms256×pre80true
8.0ms23×body320valid
4.0ms12×body160valid
4.0ms31×body80valid

simplify120.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1159
2229
3339
4389
5459
6519
7619
8749
9869
10959
done959

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.9b

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.7b
(tan (+ y z))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
19.0ms
(+ x (- (tan (+ y z)) (tan a)))
26.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series524.0ms

Counts
3 → 9
Calls
3 calls:
227.0ms
(+ x (- (tan (+ y z)) (tan a)))
181.0ms
(- (tan (+ y z)) (tan a))
115.0ms
(tan (+ y z))

simplify3.5s

Counts
81 → 81
Iterations

Useful iterations: done (3.5s)

IterNodesCost
01281195
12741008
2644882
32382793
done5000773

prune356.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize41.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))

rewrite475.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
115×add-sqr-sqrt
108×add-cube-cbrt prod-diff
97×times-frac
56×associate-+r+
27×distribute-lft-out
18×fma-neg
16×associate-/r/
11×add-log-exp
flip3-- flip--
add-exp-log add-cbrt-cube div-inv
tan-quot
pow1
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 227
Calls
4 calls:
49.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
136.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
232.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
43.0ms
(* (tan y) (tan z))

series1.9s

Counts
4 → 12
Calls
4 calls:
347.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
652.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
687.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
163.0ms
(* (tan y) (tan z))

simplify1.6s

Counts
239 → 239
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03037323
16886202
217785656
done50005023

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize93.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (tan a))
0.7b
(cbrt (tan a))
0.7b
(cbrt (tan a))
60.6b
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
tan-quot cbrt-div pow1/3
fma-udef
Counts
4 → 52
Calls
4 calls:
5.0ms
(cbrt (tan a))
4.0ms
(cbrt (tan a))
4.0ms
(cbrt (tan a))
1.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

series993.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(cbrt (tan a))
213.0ms
(cbrt (tan a))
217.0ms
(cbrt (tan a))
349.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

simplify21.3s

Counts
64 → 64
Iterations

Useful iterations: 4 (814.0ms)

IterNodesCost
055644
1107463
2218367
3572357
41829307
done5000307

prune410.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (+ (* (tan z) (tan y)) -1) (sin a) (* (+ (tan y) (tan z)) (cos a)))
0.2b
(/ (fma (+ (* (tan z) (tan y)) -1) (sin a) (* (+ (tan y) (tan z)) (cos a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.2b
(* (tan z) (tan y))
0.2b
(* (tan y) (tan z))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
tan-quot pow1
associate-*r* associate-*l*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
flip3-- frac-2neg clear-num associate-/r* flip-- fma-udef div-inv
Counts
4 → 81
Calls
4 calls:
0.0ms
(fma (+ (* (tan z) (tan y)) -1) (sin a) (* (+ (tan y) (tan z)) (cos a)))
21.0ms
(/ (fma (+ (* (tan z) (tan y)) -1) (sin a) (* (+ (tan y) (tan z)) (cos a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
25.0ms
(* (tan z) (tan y))
25.0ms
(* (tan y) (tan z))

series1.2s

Counts
4 → 12
Calls
4 calls:
323.0ms
(fma (+ (* (tan z) (tan y)) -1) (sin a) (* (+ (tan y) (tan z)) (cos a)))
590.0ms
(/ (fma (+ (* (tan z) (tan y)) -1) (sin a) (* (+ (tan y) (tan z)) (cos a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
122.0ms
(* (tan z) (tan y))
125.0ms
(* (tan y) (tan z))

simplify1.9s

Counts
93 → 93
Iterations

Useful iterations: 3 (980.0ms)

IterNodesCost
01591853
13531769
210931543
340401513
done50001513

prune432.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes394.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02031
12731
done2731

end0.0ms

sample8.4s

Algorithm
intervals
Results
5.1s3881×body1280valid
1.4s2035×body640valid
675.0ms685×body320valid
449.0ms8000×pre80true
230.0ms1101×body80valid
111.0ms298×body160valid