Details

Time bar (total: 13.7s)

sample178.0ms

Algorithm
intervals
Results
89.0ms118×body1280valid
35.0ms66×body640valid
12.0ms256×pre80true
7.0ms24×body320valid
4.0ms41×body80valid
1.0msbody160valid

simplify23.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605
done2605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.6b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.3b
(tan (+ y z))

rewrite50.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:
22.0ms
(+ x (- (tan (+ y z)) (tan a)))
18.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series350.0ms

Counts
3 → 9
Calls
3 calls:
151.0ms
(+ x (- (tan (+ y z)) (tan a)))
139.0ms
(- (tan (+ y z)) (tan a))
59.0ms
(tan (+ y z))

simplify97.0ms

Counts
81 → 81
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0276685
1732540
23128507
35001488
done5001488

prune242.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite308.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:
30.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
149.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
100.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
16.0ms
(* (tan y) (tan z))

series1.3s

Counts
4 → 12
Calls
4 calls:
252.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
425.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
471.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
116.0ms
(* (tan y) (tan z))

simplify89.0ms

Counts
239 → 239
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07044490
122933769
250023667
done50023667

prune750.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite521.0ms

Algorithm
rewrite-expression-head
Rules
321×*-un-lft-identity
237×add-sqr-sqrt
180×prod-diff
172×times-frac
146×add-cube-cbrt
92×associate-+r+
58×difference-of-squares
44×distribute-lft-out
30×fma-neg distribute-lft-out--
14×associate-/r/
11×add-exp-log add-cbrt-cube add-log-exp
flip3-- flip-- div-inv
pow1
expm1-log1p-u log1p-expm1-u
tan-quot fma-def associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg diff-log associate-*r/ div-exp prod-exp sum-log cbrt-unprod
+-commutative associate-+r- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-+ associate-/l/ associate-/l* unswap-sqr
Counts
4 → 295
Calls
4 calls:
279.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a)))
16.0ms
(/ (* (sin y) (tan z)) (cos y))
189.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
13.0ms
(* (sin y) (tan z))

series1.2s

Counts
4 → 12
Calls
4 calls:
448.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a)))
124.0ms
(/ (* (sin y) (tan z)) (cos y))
491.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
89.0ms
(* (sin y) (tan z))

simplify110.0ms

Counts
307 → 307
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
08057012
126335836
250015656
done50015656

prune929.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite362.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 104
Calls
4 calls:
34.0ms
(* (+ (tan y) (tan z)) (cos a))
15.0ms
(* (tan y) (tan z))
17.0ms
(* (tan y) (tan z))
293.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series964.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(* (+ (tan y) (tan z)) (cos a))
107.0ms
(* (tan y) (tan z))
111.0ms
(* (tan y) (tan z))
569.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify85.0ms

Counts
116 → 116
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06071365
128351198
250011191
done50011191

prune522.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes313.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12620
done2620

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.1s3941×body1280valid
899.0ms1980×body640valid
377.0ms8000×pre80true
214.0ms705×body320valid
123.0ms1090×body80valid
58.0ms284×body160valid