Details

Time bar (total: 23.7s)

analyze17.4s

Algorithm
search
Search
TrueOtherFalseIter
0%0.2%99.8%0
0%0.2%99.8%1
0%0.2%99.8%2
0%0.2%99.8%3
0%0.2%99.8%4
0%0.2%99.8%5
0%0.2%99.8%6
0%0.2%99.8%7
0%0.2%99.8%8
0%0.2%99.8%9
0%0.2%99.8%10
0%0.2%99.8%11
0%0.2%99.8%12
0%0.2%99.8%13
0%0.2%99.8%14

sample124.0ms

Algorithm
intervals
Results
64.0ms120×body1280valid
18.0ms256×pre80true
17.0ms68×body640valid
5.0ms28×body320valid
2.0ms30×body80valid
1.0ms10×body160valid

simplify406.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
01859
11859

prune20.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.1b

Counts
2 → 1

localize13.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.5b
(tan (+ y z))

rewrite20.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 diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- associate-+r+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 40
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

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

simplify67.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04916561
14916561

prune100.0ms

Filtered
39 candidates to 49 candidates (-25.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New42749
Fresh000
Picked101
Done000
Total43750

Merged error: 0.1b

Counts
50 → 7

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.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite37.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 flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- 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 → 65
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series302.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (tan y) (tan z))
131.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
123.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
25.0ms
(* (tan y) (tan z))

simplify31.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
049511271
149511271

prune133.0ms

Filtered
59 candidates to 77 candidates (-30.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh246
Picked101
Done000
Total76884

Merged error: 0.0b

Counts
84 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

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

series296.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
25.0ms
(/ (* (tan y) (sin z)) (cos z))
124.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
16.0ms
(* (tan y) (sin z))

simplify48.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049381475
149381475

prune120.0ms

Filtered
65 candidates to 84 candidates (-29.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh077
Picked011
Done000
Total84892

Merged error: 0.0b

Counts
92 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

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

series235.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (+ (tan y) (tan z)) (cos a))
154.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (* (tan y) (tan z))) (cos a)))
22.0ms
(* (tan y) (tan z))
22.0ms
(* (tan y) (tan z))

simplify44.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
054361771

prune120.0ms

Filtered
82 candidates to 107 candidates (-30.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh066
Picked011
Done011
Total1078115

Merged error: 0.0b

Counts
115 → 8

regimes689.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06121
16121

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s3806×body1280valid
538.0ms8000×pre80true
512.0ms2033×body640valid
121.0ms709×body320valid
63.0ms1169×body80valid
33.0ms283×body160valid

Profiling

Loading profile data...