Details

Time bar (total: 23.3s)

analyze16.7s

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

sample116.0ms

Algorithm
intervals
Results
56.0ms106×body1280valid
18.0ms256×pre80true
16.0ms66×body640valid
3.0ms20×body320valid
3.0ms50×body80valid
2.0ms14×body160valid

simplify423.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
01859
11859

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.7b

Counts
2 → 1

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))
2.0b
(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))

series106.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ x (- (tan (+ y z)) (tan a)))
40.0ms
(- (tan (+ y z)) (tan a))
25.0ms
(tan (+ y z))

simplify67.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04916561
14916561

prune104.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New40949
Fresh000
Picked101
Done000
Total41950

Merged error: 0.1b

Counts
50 → 9

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

rewrite43.0ms

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

series326.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
127.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
22.0ms
(* (tan y) (tan z))
119.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

simplify51.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050841882

prune153.0ms

Filtered
75 candidates to 100 candidates (-33.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New955100
Fresh538
Picked101
Done000
Total1018109

Merged error: 0.0b

Counts
109 → 8

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
25×tan-quot
18×pow1
16×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
frac-times associate-*r/ associate-*l*
associate-*r*
associate-*l/ add-log-exp
pow-prod-down prod-exp frac-sub cbrt-unprod
swap-sqr *-commutative unswap-sqr
flip3-+ associate--l+ flip-+
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus diff-log pow-sqr pow-prod-up flip--
Counts
4 → 93
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
12.0ms
(- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (* (tan y) (* (tan z) (tan z)))))) (+ 1 (* (tan y) (tan z)))) (tan a))
8.0ms
(* (tan y) (* (tan z) (tan z)))
5.0ms
(* (tan z) (tan z))

series468.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan y) (tan z))
410.0ms
(- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (* (tan y) (* (tan z) (tan z)))))) (+ 1 (* (tan y) (tan z)))) (tan a))
27.0ms
(* (tan y) (* (tan z) (tan z)))
9.0ms
(* (tan z) (tan z))

simplify30.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
049771678
149771678

prune146.0ms

Filtered
76 candidates to 105 candidates (-38.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh077
Picked011
Done000
Total1058113

Merged error: 0.0b

Counts
113 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ (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)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (* (tan y) (tan z))) (cos a)))

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:
7.0ms
(* (+ (tan y) (tan z)) (cos a))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
18.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series230.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
054361771

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

regimes757.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
07832
17832

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s3825×body1280valid
533.0ms8000×pre80true
495.0ms2022×body640valid
117.0ms708×body320valid
61.0ms1150×body80valid
36.0ms295×body160valid

Profiling

Loading profile data...