Details

Time bar (total: 12.1s)

sample136.0ms

Algorithm
intervals
Results
49.0ms127×body1280valid
19.0ms256×pre80true
16.0ms67×body640valid
4.0ms26×body320valid
2.0ms29×body80valid
1.0msbody160valid

simplify78.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7649
8829
9999
101079
done1079

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.8b

Counts
2 → 1

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
4.3b
(tan (+ y z))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
6.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series110.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ x (- (tan (+ y z)) (tan a)))
35.0ms
(- (tan (+ y z)) (tan a))
27.0ms
(tan (+ y z))

simplify1.5s

Counts
51 → 51
Iterations

Useful iterations: 3 (132.0ms)

IterNodesCost
092627
1199590
2430572
31025570
43627570
done5001570

prune94.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New45651
Fresh000
Picked101
Done000
Total46652

Merged error: 0.1b

Counts
52 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
14.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
16.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series316.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (tan y) (tan z))
139.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
130.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
23.0ms
(* (tan y) (tan z))

simplify1.3s

Counts
79 → 79
Iterations

Useful iterations: 3 (397.0ms)

IterNodesCost
01551433
13681362
29301302
323121291
done50011291

prune163.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New70979
Fresh235
Picked101
Done000
Total731285

Merged error: 0.1b

Counts
85 → 12

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

rewrite40.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--
prod-exp cbrt-unprod 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 → 96
Calls
4 calls:
9.0ms
(* (+ (tan y) (tan z)) (cos a))
6.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
16.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (+ (tan y) (tan z)) (cos a))
23.0ms
(* (tan y) (tan z))
23.0ms
(* (tan y) (tan z))
161.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify965.0ms

Counts
108 → 108
Iterations

Useful iterations: done (961.0ms)

IterNodesCost
02012138
16032041
222411664
done50001653

prune185.0ms

Filtered
84 candidates to 108 candidates (-28.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1071108
Fresh11011
Picked011
Done000
Total10812120

Merged error: 0.1b

Counts
120 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
37×*-un-lft-identity
31×times-frac
20×add-cube-cbrt
15×difference-of-squares
10×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/l*
tan-quot associate-*r* add-log-exp
distribute-lft-out--
associate-*l/
associate-/r* associate-/l/
flip3-- pow-prod-down prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
cbrt-undiv frac-times sub-neg frac-2neg flip3-+ diff-log div-sub associate-*r/ div-exp frac-add clear-num flip-+ div-inv distribute-lft-out
Counts
4 → 107
Calls
4 calls:
16.0ms
(- (/ (* (+ (tan y) (tan z)) (cos a)) (- 1 (* (tan y) (tan z)))) (/ (sin a) 1))
9.0ms
(* (+ (tan y) (tan z)) (cos a))
22.0ms
(/ (- (/ (* (+ (tan y) (tan z)) (cos a)) (- 1 (* (tan y) (tan z)))) (/ (sin a) 1)) (cos a))
6.0ms
(* (tan y) (tan z))

series370.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(- (/ (* (+ (tan y) (tan z)) (cos a)) (- 1 (* (tan y) (tan z)))) (/ (sin a) 1))
37.0ms
(* (+ (tan y) (tan z)) (cos a))
170.0ms
(/ (- (/ (* (+ (tan y) (tan z)) (cos a)) (- 1 (* (tan y) (tan z)))) (/ (sin a) 1)) (cos a))
23.0ms
(* (tan y) (tan z))

simplify2.0s

Counts
119 → 119
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02133148
15152901
214672729
done50002588

prune136.0ms

Filtered
85 candidates to 119 candidates (-40.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1181119
Fresh1910
Picked101
Done101
Total12110131

Merged error: 0.1b

Counts
131 → 10

regimes938.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02129
12727
done2727

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.6s3963×body1280valid
560.0ms8000×pre80true
485.0ms2013×body640valid
110.0ms666×body320valid
58.0ms1056×body80valid
35.0ms302×body160valid

Profiling

Loading profile data...